5 #include "simplestaff.hh"
11 Simple_column::Simple_column(Score_column*s, Simple_staff *rs)
18 Simple_staff::Simple_staff()
23 // should integrate handling of BREAK commands into Staff_column
25 Simple_column::process_commands( )
27 int breakstat = BREAK_END - BREAK_PRE;
28 for (int i = 0 ; i < s_commands.sz(); i++) {
29 Command *com = s_commands[i];
37 score_column->set_breakable();
38 breakstat = com->code- BREAK_PRE;
42 typeset_command ( com , breakstat);
60 Simple_column::process_requests()
62 for (int i = 0 ; i < v_elts.sz(); i ++)
63 for (PCursor<Request *> rqc(v_elts[i]->reqs); rqc.ok(); rqc++) {
67 WARN << "too many notes.\n";
77 Simple_staff::grant_requests()
79 for (PCursor<Staff_column*> cc(cols); cc.ok(); cc++) {
80 Simple_column *rp = (Simple_column*)*cc;
82 rp->typeset_req( rp->the_note);