]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/rod.hh
c71b6b3484ebc52a8147622ed2b1669fd46df37c
[lilypond.git] / lily / include / rod.hh
1 /*   
2   rod.hh -- declare Rod, Column_rod
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1998 Han-Wen Nienhuys <hanwen@cs.ruu.nl>
7   
8  */
9
10 #ifndef ROD_HH
11 #define ROD_HH
12 #include "lily-proto.hh"
13 #include "direction.hh"
14 #include "drul-array.hh"
15
16 struct Column_rod {
17   Paper_column *other_l_;
18   Real distance_f_;
19
20   Column_rod ();
21   static int compare (const Column_rod &r1, const Column_rod &r2);
22   void print () const;
23 };
24
25 struct Rod
26 {
27   Drul_array <Item*> item_l_drul_;
28   Real distance_f_;
29   void add_to_cols ();
30
31   Rod (Single_malt_grouping_item*,Single_malt_grouping_item*);
32   Rod ();
33 };
34
35
36 #endif /* ROD_HH */
37