4 #include "linestaff.hh"
5 #include "rhythmstaff.hh"
11 Rhythmic_staff::set_output(PScore*ps)
13 theline = new Linestaff(1,ps);
14 Simple_staff::set_output(ps);
19 Rhythmic_column::typeset_command(Command *com, int breakst)
22 Molecule*m = create_command_mol(com);
24 m->translate(Offset(0,
25 -staff_->score_->paper_->standard_height()/2));
26 typeset_item(i, breakst);
30 Rhythmic_column::typeset_req(Request *rq)
34 Notehead *n =new Notehead(1);
35 n->balltype = rq->rhythmic()->balltype;
36 n->dots = rq->rhythmic()->dots;
39 } else if (rq->rest()) {
41 Molecule*m=create_req_mol(rq);
48 Rhythmic_column::typeset_stem(Stem_req*rq)
50 Stem * s = new Stem(0);
51 s->minnote = s->maxnote = 0;
52 s->flag = rq->stem_number;
62 return new Rhythmic_staff;
67 Rhythmic_staff::create_col(Score_column*s)
69 return new Rhythmic_column(s,this);
73 Rhythmic_staff::clone() const
75 return new Rhythmic_staff(*this);