X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fscore-column.hh;h=dfe944c5a589ccd7588959ddca8ff9ae24a29e37;hb=59ed0cee2aae58a3f0483f21261c68aee406fa10;hp=699c84a280786d30413c5732f01a4e3f307dd357;hpb=2862b1027f316a2f0444fa92e441ee28acf7a463;p=lilypond.git diff --git a/lily/include/score-column.hh b/lily/include/score-column.hh index 699c84a280..dfe944c5a5 100644 --- a/lily/include/score-column.hh +++ b/lily/include/score-column.hh @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997 Han-Wen Nienhuys + (c) 1997--1998 Han-Wen Nienhuys */ @@ -11,7 +11,7 @@ #define SCORE_COLUMN_HH #include "lily-proto.hh" -#include "varray.hh" +#include "array.hh" #include "moment.hh" #include "p-col.hh" @@ -26,27 +26,27 @@ */ class Score_column : public Paper_column { - friend class Score; - friend class Score_engraver; + friend class Score; + friend class Score_engraver; + + bool musical_b_; + int break_penalty_i_; + Moment when_; - bool musical_b_; - Moment when_; public: + int break_penalty_i () { return break_penalty_i_; } DECLARE_MY_RUNTIME_TYPEINFO; - SCORE_ELEM_CLONE(Score_column); - /// length of notes/rests in this column - Array durations; + SCORE_ELEMENT_CLONE(Score_column); + /// length of notes/rests in this column + Array durations; - /* *************** */ - - Moment when() { return when_; } - Score_column (Moment when); - void add_duration (Moment); - void preprocess(); - bool musical_b() { return musical_b_; } - void do_print() const; - + Moment when() { return when_; } + Score_column (Moment when); + void add_duration (Moment); + void preprocess(); + bool musical_b() { return musical_b_; } + void do_print() const; }; #endif // SCORE_COLUMN_HH