1 #include "lookupsyms.hh"
5 #include "simplestaff.hh"
10 Simple_column::create_req_mol(Request *rq)
16 s = staff_->paper()->lookup_->rest(rq->rest()->balltype);
19 dots=rq->rhythmic()->dots;
22 Molecule *m = new Molecule(Atom(s));
24 Symbol d = staff_->paper()->lookup_->dots(dots);
33 Simple_column::create_command_mol(Command *com)
37 if (com -> args[0] == "BAR" ) {
38 s = staff_->paper()->lookup_->bar(com->args[1]);
39 } else if (com->args[0] == "METER") {
40 Parametric_symbol *p = staff_->paper()->lookup_->meter("general");
41 svec<String> arg( com->args);
47 Molecule * m =new Molecule(Atom(s));
50 svec<Item*> sv(staff_->pscore_->
51 select_items(staff_->theline, score_column->pcol));
52 for (int j=0; j<sv.sz(); j++) {
53 wid.unite(sv[j]->output->extent().x);
56 m->translate(Offset(wid.max,0));
63 Simple_column::typeset_item(Item *i, int breakst)
66 staff_->pscore_->typeset_item(i, score_column->pcol,
67 staff_->theline,breakst);
71 Simple_staff::set_output(PScore* ps )
74 pscore_->add(theline);