]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/rod.hh
patch::: 1.1.39.hwn1
[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   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
26 struct Rod
27 {
28   Drul_array <Item*> item_l_drul_;
29   Real distance_f_;
30   void add_to_cols ();
31
32   Rod ();
33 };
34
35 struct Column_spring {
36   Paper_column *other_l_;
37   Real distance_f_;
38   Real strength_f_;
39   
40   Column_spring ();
41   static int compare (const Column_spring &r1, const Column_spring &r2);
42   void print () const;
43 };
44
45 struct Spring{
46   
47 };
48 #endif /* ROD_HH */
49