]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/axis-group-interface.hh
patch::: 1.3.96.jcn9
[lilypond.git] / lily / include / axis-group-interface.hh
index 9ceee2fcb13011a0a23f0c02f92ac9f2c7dfadc2..3c4676b9899170b4ffabe07851231411f51059c5 100644 (file)
 
 #include "group-interface.hh"
 
-struct Axis_group_interface : Group_interface
+/**
+   Treat a group of elements as a union. This sets the parent of any S
+   added to ELT_L_ to ELT_L_.
+
+   Properties:
+*/
+struct Axis_group_interface 
 {
-  Axis_group_interface (Score_element*);
-  static Interval group_extent_callback (Dimension_cache const*);
-  void add_element (Score_element*);
-  void set_axes (Axis,Axis);
-  bool axis_b (Axis)const;
-  Link_array<Score_element> get_children ();
-  bool has_interface_b ();
-  void set_interface ();
-};
+  DECLARE_SCHEME_CALLBACK(group_extent_callback, (SCM smob, SCM axis));
+  static Interval relative_group_extent (Axis, Score_element * common, SCM list);
 
-Axis_group_interface
-axis_group (Score_element*);
+  static void add_element (Score_element* me, Score_element*);
+  static void set_axes (Score_element*,Axis,Axis);
+  static bool axis_b (Score_element*,Axis);
+  static Link_array<Score_element> get_children (Score_element*);
+  static bool has_interface (Score_element*);
+  static void set_interface (Score_element*);
+  
+};
 
 #endif /* AXIS_GROUP_INTERFACE_HH */