]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.1.36
authorfred <fred>
Tue, 26 Mar 2002 21:48:16 +0000 (21:48 +0000)
committerfred <fred>
Tue, 26 Mar 2002 21:48:16 +0000 (21:48 +0000)
lily/bar-script-engraver.cc
lily/include/beam.hh
lily/include/stem.hh

index bf462f3e9d57e7795a4d5325ed9964342274e39e..a623c132e582fef1025a49447ce73cff1671108d 100644 (file)
@@ -58,7 +58,10 @@ Bar_script_engraver::cast_to_interesting_item (Score_element *e)
   if (hang_on_clef_b_)
     {
       Clef_item * c = dynamic_cast<Clef_item*> (e);
-      if (c && c->default_b_)
+
+
+      // urg.
+      if (c) //  && c->default_b_)
        {
          i = c;
        }
index a8b6ca286a3d8c2de56290a7cdae7d11096b8689..3b99b4e08301c15d46ab40ed08f5d73ef134c375 100644 (file)
 /** a beam connects multiple stems.
 
   Beam adjusts the stems its owns to make sure that they reach the
-  beam and that point in the correct direction */
+  beam and that point in the correct direction
+
+elt property:
+
+damping: amount of beam slope damping. (int)
+
+should beam slope be damped? 0: no, 1: yes, 100000: horizontal beams 
+
+
+*/
 class Beam : public Directional_spanner  {
 public:
   /** 
@@ -33,10 +42,12 @@ public:
 
   /// position of leftmost end of beam  
   Real left_y_;
-  /// should beam slope be damped? 0: no, 1: yes, 100000: horizontal beams
-  int damping_i_;
-  /// should beam pos / slope be quantised? 0: no, 1: yes, 2: traditional
+
+  /** should beam pos / slope be quantised? 0: no, 1: yes, 2: traditional
+      JUNKME.
+   */
   Quantisation quantisation_;
+  
   /// maximum number of beams (for opening-up of beam-spacing)
   int multiple_i_;
 
index a3f0921a45bbe2828a4b1e687401ae7b728fd20c..003922789efe33c6b2d2764a0d9c7d9dd1c38959 100644 (file)
   TODO.
   
   Stem size depends on flag.
+
+  elt properties:
+
+  beam_dir: direction of the beam (int)
+
+  dir_force: is direction explicitely specified? (bool)
+
   */
+// todo: remove baseclass Staff_symbol_referencer, since stem
+// can be across a staff.
 class Stem : public Item, public Staff_symbol_referencer {
-  Drul_array<Real> yextent_drul_;
 
   /**extent of the stem (positions).
     fractional, since Beam has to adapt them.
     */
-
+  Drul_array<Real> yextent_drul_;
 
   /**
     geen gedonder, jij gaat onder.
@@ -65,11 +73,7 @@ public:
   /// direction stem (that's me)
   Direction dir_;
 
-  /// is direction explicitely specified?
-  bool dir_forced_b_;
 
-  /// direction of the beam
-  Direction beam_dir_;
   Stem ();
     
   /// ensure that this Stem also encompasses the Notehead #n#