From: fred Date: Sun, 24 Mar 2002 19:28:44 +0000 (+0000) Subject: lilypond-0.0.26 X-Git-Tag: release/1.5.59~5562 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2c50dc9a27e1d9bffc0018ea3305bdbfd49e54c1;p=lilypond.git lilypond-0.0.26 --- diff --git a/src/notehead.cc b/src/notehead.cc index 859e41fad9..fb4e80719b 100644 --- a/src/notehead.cc +++ b/src/notehead.cc @@ -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)); }