]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/rod.hh
release: 1.1.44
[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--1999 Han-Wen Nienhuys <hanwen@cs.uu.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 {
18   Paper_column *other_l_;
19   Real distance_f_;
20
21   Column_rod ();
22   static int compare (const Column_rod &r1, const Column_rod &r2);
23   void print () const;
24 };
25
26
27 struct Rod
28 {
29   Drul_array <Item*> item_l_drul_;
30   Real distance_f_;
31   void add_to_cols ();
32
33   Rod ();
34 };
35 #endif /* ROD_HH */
36