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