From 66fab9101c21d81be40a7c3687a9dee128832c49 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:28:08 +0000 Subject: [PATCH] lilypond-0.0.23 --- hdr/request.hh | 28 +++++++++++++++++++++++++--- src/simplestaff.cc | 3 +-- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/hdr/request.hh b/hdr/request.hh index a6ae0fbc88..12382d0bf7 100644 --- a/hdr/request.hh +++ b/hdr/request.hh @@ -32,6 +32,7 @@ struct Request { virtual Slur_req *slur() { return 0 ; } virtual Rhythmic_req*rhythmic() { return 0; } virtual Melodic_req *melodic() { return 0; } + virtual Mark_req * mark() { return 0; } }; /** @@ -107,6 +108,7 @@ struct Stem_req : Request { virtual Stem_req *stem() {return this;} Stem_req(int s) { stem_number = s; } Request*clone() const; + virtual void print() const; }; /// requests to start or stop something. @@ -178,6 +180,16 @@ struct Text_req : Request { Text_req(Text_req const&); }; +/// designate this spot with a name. +struct Mark_req : Request { + String mark_str_; + /****************/ + Mark_req(String); + Mark_req* mark() { return this; } + virtual void print() const; + Request *clone() const; +}; + #if 0 @@ -214,12 +226,12 @@ Start/stop a bracket at this note. if #nplet# is set, the staff will try to put an appropriate number over the bracket */ -struct Subtle_request { +struct Subtle_req { Moment subtime; }; /// helper in the hierarchy -struct Dynamic:Subtle_request { +struct Dynamic:Subtle_req { }; /** Each dynamic is bound to one note ( a crescendo spanning multiple @@ -249,7 +261,7 @@ struct Absdynamic_req : Request, Dynamic { Loudness loudness; }; -struct Grace_req : Subtle_request { +struct Grace_req : Subtle_req { }; @@ -264,5 +276,15 @@ struct Grace_note : Melodic_req { struct Grace_notes { }; + +struct Spacing_req { + Moment next; + Real distance; +}; + +struct Glissando_req : Span_req { + +}; + #endif #endif diff --git a/src/simplestaff.cc b/src/simplestaff.cc index f0087ebd3f..83bce6d7e4 100644 --- a/src/simplestaff.cc +++ b/src/simplestaff.cc @@ -16,7 +16,7 @@ Simple_column::Simple_column(Score_column*s, Simple_staff *rs) { stem_requester_len = 0; stem_ = 0; - staff_ = rs; + staff_l_ = rs; beam_ = 0; text_=0; } @@ -47,7 +47,6 @@ Simple_column::process_requests() error("Barcheck failed, " + tdescription_->str()); } } - if (rq->rhythmic()){ notes.add(rq->rhythmic()); } -- 2.39.5