]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/horizontal-vertical-group-elem.hh
ed4c3a771301533794e10c0a95d12109f454b00e
[lilypond.git] / lily / include / horizontal-vertical-group-elem.hh
1 /*   
2   horizontal-vertical-group-elem.hh -- declare 
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.ruu.nl>
7   
8  */
9
10 #ifndef HORIZONTAL_VERTICAL_GROUP_ELEM_HH
11 #define HORIZONTAL_VERTICAL_GROUP_ELEM_HH
12
13 #include "vertical-group-elem.hh"
14 #include "horizontal-group-elem.hh"
15
16 /** A class to treat a group of elements as a single entity. The
17   dimensions are the unions of the dimensions of what it contains.
18   Translation means translating the contents.
19   */
20 class Horizontal_vertical_group_element : public Vertical_group_element, 
21                                   public Horizontal_group_element 
22 {  
23 protected:
24     virtual void remove_all();
25 public:
26     virtual void add_element (Graphical_element*);
27     virtual void remove_element (Graphical_element*);
28     
29     DECLARE_MY_RUNTIME_TYPEINFO;    
30 };
31
32
33 #endif /* HORIZONTAL_VERTICAL_GROUP_ELEM_HH */
34
35