X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Frod.hh;h=163ae847d5d37750ff5aab051cf0f5adcd0b6146;hb=3b7eb398f096a9291de36d7f8716c3cf43614a7f;hp=2d8b9b4e5388558636be084b604164fc4ba39998;hpb=8f58f4428d70961938e9151097886d861b3faeb3;p=lilypond.git diff --git a/lily/include/rod.hh b/lily/include/rod.hh index 2d8b9b4e53..163ae847d5 100644 --- a/lily/include/rod.hh +++ b/lily/include/rod.hh @@ -1,36 +1,31 @@ -/* +/* rod.hh -- declare Rod, Column_rod - + source file of the GNU LilyPond music typesetter - - (c) 1998--1999 Han-Wen Nienhuys - - */ + + (c) 1998--2006 Han-Wen Nienhuys +*/ #ifndef ROD_HH #define ROD_HH + #include "lily-proto.hh" -#include "direction.hh" #include "drul-array.hh" -struct Column_rod { - Paper_column *other_l_; - Real distance_f_; - - Column_rod (); - static int compare (const Column_rod &r1, const Column_rod &r2); - void print () const; -}; - struct Rod { - Drul_array item_l_drul_; - Real distance_f_; + Drul_array item_drul_; + Real distance_; + + /** + translate the rod so as to refer to Paper_columns + */ + void columnize (); + void add_to_cols (); Rod (); }; - #endif /* ROD_HH */