1 #include "complex-staff.hh"
2 #include "complex-walker.hh"
6 #include "score-column.hh"
10 /** Aside from putting fields right, this generates the staff symbol.
13 Complex_staff::set_output(PScore* pscore_l )
15 pstaff_l_ = new PStaff(pscore_l);
17 pscore_l_->add(pstaff_l_);
19 Staff_symbol *span_p = new Staff_symbol(NO_LINES);
21 Score_column* col_last
22 =score_l_->find_col(score_l_->last(), false);
23 Score_column* col_first=
24 score_l_->find_col(0, false);
26 span_p->set_extent(col_first->pcol_l_->postbreak_p_,
27 col_last->pcol_l_->prebreak_p_);
29 pscore_l_->typeset_spanner(span_p, pstaff_l_);
34 Complex_staff::get_walker_p()
36 return new Complex_walker(this);