#include "notehead.hh"
#include "dimen.hh"
#include "debug.hh"
-#include "paper.hh"
+#include "paper-def.hh"
#include "lookup.hh"
#include "molecule.hh"
+#include "musicalrequest.hh"
+
Notehead::Notehead(int ss)
}
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
}
int
-Notehead::compare(Notehead*&a, Notehead*&b)
+Notehead::compare(Notehead *const &a, Notehead * const &b)
{
return a->position - b->position;
}
Molecule*
-Notehead::brew_molecule() const return out;
+Notehead::brew_molecule_p() const return out;
{
- Paperdef *p = paper();
+ Paper_def *p = paper();
Real dy = p->internote();
Symbol s = p->lookup_p_->ball(balltype);
out->add(sm);
}
-
out->translate(Offset(0,dy*position));
}