]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.15
authorfred <fred>
Tue, 10 Dec 1996 00:29:42 +0000 (00:29 +0000)
committerfred <fred>
Tue, 10 Dec 1996 00:29:42 +0000 (00:29 +0000)
hdr/stem.hh

index adce936320c5bd2d1b4d20eb8f0ad397af9723d9..372011d1b1171d2ee4096da6b4fe510f55af8c93 100644 (file)
 
 /// the rule attached to the ball
 struct Stem : public Item {
+    Real note_length;
+    
     // heads the stem encompasses (positions)
     int minnote, maxnote;
 
     /// false if in beam
     bool print_flag;
     
+    int beams_left;
+    int beams_right;
+    
     /// needed for determining direction/length
     int staff_center;
 
@@ -26,7 +31,8 @@ struct Stem : public Item {
       */
 
     Real stemlen;
-    // flagtype? 4 none, 8 8th flag, 0 = beam.
+    
+    /// flagtype? 4 none, 8 8th flag, 0 = beam.
     int flag;
 
     ///geen gedonder, jij gaat onder
@@ -41,14 +47,15 @@ struct Stem : public Item {
     /// ensure that this Stem also encompasses the Notehead #n#
     void add(Notehead*n);
     Real hpos()const;
+    void print() const;
     void set_stemend(Real);
     void set_default_dir();
     void set_default_stemlen();
     void set_default_extents();
     void postprocess();
     void preprocess();
-    Stem(int center);
-    void print() const;
+    Stem(int center, Real duration);
+
     Interval width() const;
 private: