]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/spring.hh
Clean up spring stuff.
[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--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef SPRING_HH
10 #define SPRING_HH
11
12 #include "lily-proto.hh"
13 #include "smobs.hh"
14
15 struct Spring
16 {
17   Grob *other_;
18   Real distance_;
19   Real min_distance_;
20
21   Real inverse_stretch_strength_;
22   Real inverse_compress_strength_;
23
24   DECLARE_SIMPLE_SMOBS (Spring);
25 public:
26   Spring ();
27 };
28 DECLARE_UNSMOB (Spring, spring);
29
30 #endif /* SPRING_HH */
31