flower-1.0.27
[lilypond.git] / src / lyricstaff.cc
blob279db7ff87b83a08161ed31354acf0adcff33fa4
1 #include "request.hh"
2 #include "voice.hh"
3 #include "staffwalker.hh"
4 #include "debug.hh"
5 #include "staff.hh"
6 #include "command.hh"
7 #include "lyricstaff.hh"
8 #include "lyriccolumn.hh"
9 #include "sccol.hh"
10 #include "lyricwalker.hh"
11 #include "pscore.hh"
13 Lyric_staff::Lyric_staff()
15 pstaff_l_=0;
18 Staff_column*
19 Lyric_staff::create_col(Score_column*s)
21 return new Lyric_column(s,this);
24 void
25 Lyric_staff::set_output(PScore*pscore_l)
27 pstaff_l_ = new PStaff(pscore_l);
28 pscore_l_ = pscore_l;
29 pscore_l_->add(pstaff_l_);
32 void
33 Lyric_staff::walk()
35 for (Lyric_walker lcols(this); lcols.ok(); lcols++) {
36 lcols.lcol_l()->setup_requests();
37 lcols.process();