2 #include "complexstaff.hh"
3 #include "complexwalker.hh"
4 #include "complexcolumn.hh"
12 #include "commandrequest.hh"
16 /** Aside from putting fields right, this generates the staff symbol.
19 Complex_staff::set_output(PScore* pscore_l )
21 pstaff_l_ = new PStaff(pscore_l);
23 pscore_l_->add(pstaff_l_);
27 Staff_symbol *span_p = new Staff_symbol(5);
30 Score_column* col_last
31 =score_l_->find_col(score_l_->last(), false);
32 Score_column* col_first=
33 score_l_->find_col(0, false);
35 span_p->set_extent(col_first->pcol_l_->postbreak_p_,
36 col_last->pcol_l_->prebreak_p_);
38 pscore_l_->typeset_spanner(span_p, pstaff_l_);
41 Complex_staff::Complex_staff()
47 Complex_staff::create_col()
49 return new Complex_column(this);
53 Complex_staff::get_walker_p()
55 return new Complex_walker(this);