]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/axis-group-element.hh
release: 1.1.1
[lilypond.git] / lily / include / axis-group-element.hh
1 /*
2   axis-group-element.hh -- declare Axis_group_element
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef AXIS_GROUP_ELEMENT_HH
11 #define AXIS_GROUP_ELEMENT_HH
12
13 #include "score-element.hh"
14 #include "graphical-axis-group.hh"
15
16 /** 
17   Treat a group of elements a unity in either or both axis sense .
18   This is a wrapper around Axis_group_administration
19   */
20 class Axis_group_element : public virtual Score_element,
21                            public Graphical_axis_group {
22 protected:
23   virtual void do_print() const;
24   virtual Link_array<Score_element> get_extra_dependencies() const;
25   virtual void do_unlink();
26   virtual void do_junk_links();
27
28 public:
29   virtual Link_array<Score_element> elem_l_arr() const;
30   Axis_group_element(Axis,Axis);
31   Axis_group_element();  
32   virtual Link_array<Score_element> get_children ();
33
34   DECLARE_MY_RUNTIME_TYPEINFO;
35 };
36
37 #endif // AXIS_GROUP_ELEMENT_HH