]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.26
authorfred <fred>
Sun, 24 Mar 2002 19:28:44 +0000 (19:28 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:28:44 +0000 (19:28 +0000)
src/notehead.cc

index 859e41fad9fa76b1e1f1942dc11ffbd6741d50c6..fb4e80719b85fb854c5d55d1058d609c6187798a 100644 (file)
@@ -5,7 +5,9 @@
 #include "paper.hh"
 #include "lookup.hh"
 #include "molecule.hh"
+#include "request.hh"
 
+NAME_METHOD(Notehead);
 
 Notehead::Notehead(int ss)
 {
@@ -16,14 +18,19 @@ Notehead::Notehead(int ss)
     dots = 0;
     extremal = 0;
 }
-
 void
-Notehead::print()const
+Notehead::set_rhythmic(Rhythmic_req*r_req_l)
+{
+    balltype = r_req_l->balltype;
+    dots = r_req_l->dots;
+}
+    
+void
+Notehead::do_print()const
 {
 #ifndef NPRINT
-    mtor << "Head "<< balltype << ", position = "<< position
+    mtor << "balltype "<< balltype << ", position = "<< position
         << "dots " << dots;
-    Item::print();
 #endif
 }
 
@@ -64,7 +71,6 @@ Notehead::brew_molecule_p() const return out;
        out->add(sm);       
     }
     
-
     out->translate(Offset(0,dy*position));
 }