]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/stem.hh
release: 0.1.16
[lilypond.git] / lily / include / stem.hh
index 12380ae48babc6c3a614a274f9a6fb326977e014..3a034df85e09e778f97ab6afdc467ff03bc7233d 100644 (file)
@@ -31,8 +31,7 @@ class Stem : public Item {
 
   Molecule abbrev_mol () const;
     
-  Real stem_bottom_f_, stem_top_f_;
-    
+  Drul_array<Real> yextent_drul_;
     
   /// needed for determining direction/length
   int staff_size_i_;
@@ -46,19 +45,19 @@ class Stem : public Item {
     geen gedonder, jij gaat onder.
     -1 stem points down, +1: stem points up
     */
-  Real stem_xoffset_f_;
-  /**
-    store the wholes (for vapourware tremolo)
-    */
-  Link_array<Note_head> whole_l_arr_;
+  Direction  stem_xdir_;
+
   Link_array<Note_head> head_l_arr_;
-  Link_array<Note_head> rest_l_arr_;
+  Link_array<Rest> rest_l_arr_;
     
 public:
   /// abbrev flag? + count
   int abbrev_flag_i_;
 
-  /// flagtype? 4 none, 8 8th flag, 0 = beam.
+  /// how many abbrev beam don't reach stem?
+  int beam_gap_i_;
+
+  /// log of the duration. Eg. 4 -> 16th note -> 2 flags
   int flag_i_;
 
   /** 
@@ -76,12 +75,14 @@ public:
   Stem ();
     
   /// ensure that this Stem also encompasses the Notehead #n#
-  void add (Note_head*n);
+  void add (Rhythmic_head*n);
 
   DECLARE_MY_RUNTIME_TYPEINFO;
 
   Real hpos_f() const;
-    
+  
+  int type_i () const;
+
   void do_print() const;
   void set_stemend (Real);
   Direction get_default_dir();
@@ -95,6 +96,7 @@ public:
   Real stem_length_f() const;
   Real stem_end_f() const;
   Real stem_start_f() const;
+  Real note_delta_f () const;
 
   bool invisible_b() const;