1 #include "lookupsyms.hh"
5 #include "simplestaff.hh"
10 Simple_column::create_req_item(Request *rq)
17 s = staff_->paper()->lookup_->ball(rq->note()->balltype);
19 s = staff_->paper()->lookup_->rest(rq->rest()->balltype);
22 dots=rq->rhythmic()->dots;
25 Molecule *m = new Molecule(Atom(s));
27 Symbol d = staff_->paper()->lookup_->dots(dots);
36 Simple_column::create_command_item(Command *com)
41 if (com -> args[0] == "BAR" ) {
42 s = staff_->paper()->lookup_->bar(com->args[1]);
43 } else if (com->args[0] == "METER") {
44 Parametric_symbol *p = staff_->paper()->lookup_->meter("general");
45 svec<String> arg( com->args);
51 Molecule * m =new Molecule(Atom(s));
54 svec<Item*> sv(staff_->pscore_->
55 select_items(staff_->theline, score_column->pcol));
56 for (int j=0; j<sv.sz(); j++) {
57 wid.unite(sv[j]->output->extent().x);
60 m->translate(Offset(wid.max,0));
67 Simple_column::typeset_item(Item *i, int breakst)
70 staff_->pscore_->typeset_item(i, score_column->pcol,
71 staff_->theline,breakst);
75 Simple_staff::set_output(PScore* ps )
78 pscore_->add(theline);