X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fspring.hh;h=11989b3ad03c6735fdf21e26afb4fb29a3f76578;hb=6379324981ca667576af4318c68e0128c5436c8c;hp=58b72feb0e352ff4ca37d08a3888135f1e13af36;hpb=5d1ddaf889233f8e5c32a118f9e843e1becca2d2;p=lilypond.git diff --git a/lily/include/spring.hh b/lily/include/spring.hh index 58b72feb0e..11989b3ad0 100644 --- a/lily/include/spring.hh +++ b/lily/include/spring.hh @@ -1,11 +1,10 @@ -/* +/* spring.hh -- declare Spring, Column_spring - + source file of the GNU LilyPond music typesetter - - (c) 1999--2005 Han-Wen Nienhuys - - */ + + (c) 1999--2007 Han-Wen Nienhuys +*/ #ifndef SPRING_HH #define SPRING_HH @@ -18,29 +17,28 @@ struct Spring_smob Grob *other_; Real distance_; bool expand_only_b_; - Real strength_; - - DECLARE_SIMPLE_SMOBS(Spring_smob, dummy); + Real inverse_strength_; + + DECLARE_SIMPLE_SMOBS (Spring_smob); public: - Spring_smob(); + Spring_smob (); }; -DECLARE_UNSMOB(Spring_smob, spring); +DECLARE_UNSMOB (Spring_smob, spring); struct Spring { - Drul_array item_l_drul_; + Drul_array item_drul_; Real distance_; bool expand_only_b_; /* TODO: make 2 strengths: one for stretching, and one for shrinking. */ - Real strength_; + Real inverse_strength_; void add_to_cols (); void set_to_cols (); Spring (); }; - #endif /* SPRING_HH */