1 #include "melodicstaff.hh"
4 #include "linestaff.hh"
5 #include "rhythmstaff.hh"
9 Melodic_staff::set_output(PScore*ps)
11 theline = new Linestaff(5,ps);
12 Simple_staff::set_output(ps);
16 Melodic_column::typeset_command(Command *com, int breakst)
18 Item *i = create_command_item(com);
19 typeset_item(i, breakst);
23 Melodic_column::typeset_req(Request *rq)
25 Item *i = create_req_item(rq);
27 int h = rq->note()->height();
28 Real dy = staff_->paper()->interline()/2;
29 i->output->translate(Offset(0,(h-2)*dy));
38 get_new_melodicstaff()
40 return new Melodic_staff;
45 Melodic_staff::create_col(Score_column*s)
47 return new Melodic_column(s,this);
51 Melodic_staff::clone()const
53 return new Melodic_staff(*this);