]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/axis-group-interface.hh
* lily/dynamic-engraver.cc (acknowledge_grob): attach hairpin
[lilypond.git] / lily / include / axis-group-interface.hh
index 3d72a99494eae311437be103feaa96d5103f5862..26ab66e14dc65e24e2980664597453581b02f6cc 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 2000--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
 #include "group-interface.hh"
 
 /**
-   Treat a group of elements as a union. This sets the parent of any S
-   added to ELT_L_ to ELT_L_.
 
-   Properties:
-
-   axes -- list of axis (number) in which this group works
-
-   transparent -- an Axis_group is transparent by default
-
-   elements -- contains list of pointers to other elements
-
-   interfaces -- Axis_group is added to this list.
 */
 struct Axis_group_interface 
 {
-  Score_element *elt_l_;
-  Axis_group_interface (Score_element*);
-
-  static Interval group_extent_callback (Score_element const*,Axis);
-  static Interval relative_group_extent (Axis, Score_element * common, SCM list);
-
-  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, Grob * common, SCM list);
+
+  static void add_element (Grob* me, Grob*);
+  static void set_axes (Grob*,Axis,Axis);
+  static bool has_axis (Grob*,Axis);
+  static Link_array<Grob> get_children (Grob*);
+  static bool has_interface (Grob*);
+  
   
 };