2 axis-group-interface.hh -- declare Axis_group_interface
4 source file of the GNU LilyPond music typesetter
6 (c) 2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef AXIS_GROUP_INTERFACE_HH
11 #define AXIS_GROUP_INTERFACE_HH
13 #include "group-interface.hh"
16 Treat a group of elements as a union. This sets the parent of any S
17 added to ELT_L_ to ELT_L_.
21 axes -- list of axis (number) in which this group works
23 transparent -- an Axis_group is transparent by default
25 elements -- contains list of pointers to other elements
27 interfaces -- Axis_group is added to this list.
29 struct Axis_group_interface
31 Score_element *elt_l_;
32 Axis_group_interface (Score_element*);
34 static Interval group_extent_callback (Dimension_cache const*);
35 static Interval relative_group_extent (Axis, Score_element * common, SCM list);
37 void add_element (Score_element*);
38 void set_axes (Axis,Axis);
39 bool axis_b (Axis)const;
40 Link_array<Score_element> get_children ();
41 bool has_interface_b ();
42 void set_interface ();
46 #endif /* AXIS_GROUP_INTERFACE_HH */