]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.23
authorfred <fred>
Sun, 24 Mar 2002 19:28:08 +0000 (19:28 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:28:08 +0000 (19:28 +0000)
hdr/request.hh
src/simplestaff.cc

index a6ae0fbc88aa30b0066a06b8a912d91a5ced6350..12382d0bf7b317ea68f1283124a2f1d963c3a93f 100644 (file)
@@ -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
index f0087ebd3fda6c45786c881b3613c5507d7e3fd1..83bce6d7e4afb762500fbd545bad20e4f7d7c4db 100644 (file)
@@ -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());
            }