From: fred Date: Sun, 24 Mar 2002 19:28:11 +0000 (+0000) Subject: lilypond-0.0.23 X-Git-Tag: release/1.5.59~5595 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=cf6b8f2f1f267c6ec725a025cc79910047b4dbff;p=lilypond.git lilypond-0.0.23 --- diff --git a/hdr/score.hh b/hdr/score.hh index f58367c30e..152e578493 100644 --- a/hdr/score.hh +++ b/hdr/score.hh @@ -4,6 +4,7 @@ #include "proto.hh" #include "plist.hh" #include "moment.hh" +#include "assoc.hh" /// the total music def of one movement struct Score { @@ -15,13 +16,17 @@ struct Score { IPointerList cols_; PScore *pscore_p_; + String define_spot_str_; + + Assoc markers_assoc_; /****************************************************************/ /// construction Score(Paperdef*); ~Score(); - void add(Staff*); + void add(Staff*); + void add_marks(Array, Array); /// do everything except outputting to file void process(); @@ -37,9 +42,10 @@ struct Score { PCursor find_col(Moment,bool); /// when does the last *musical* element finish? Moment last() const; - + private: Score(Score const&){} + /// void do_cols(); /** make the pcol_l_ fields of each Score_column point to the correct PCol, diff --git a/hdr/timedescription.hh b/hdr/timedescription.hh index 2194ee0a16..5fb7749793 100644 --- a/hdr/timedescription.hh +++ b/hdr/timedescription.hh @@ -1,7 +1,7 @@ /* moment.hh -- part of LilyPond - (c) 1996 Han-Wen Nienhuys + (c) 1996,97 Han-Wen Nienhuys */ #ifndef tdes_HH @@ -10,26 +10,33 @@ #include "real.hh" #include "moment.hh" +/// full info on where we are struct Time_description { - Rational when; + Moment when; + + /// if true, no bars needed, no reduction of whole_in_measure + bool cadenza_b_; + /// current measure info - Rational whole_per_measure; + Moment whole_per_measure; /// where am i - Rational whole_in_measure; + Moment whole_in_measure; /// how long is one beat? - Rational one_beat; + Moment one_beat; /// idem int bars; + /****************/ + void set_cadenza(bool); void OK() const; - Time_description(Rational, const Time_description*); + Time_description(Moment, const Time_description*); String str()const; void print() const; - void setpartial(Rational p); - Rational barleft(); + void setpartial(Moment p); + Moment barleft(); void set_meter(int,int); static int compare (Time_description&, Time_description&); };