]> git.donarmstrong.com Git - lilypond.git/blob - src/lyricstaff.cc
6d199970c7a78dee39b8274472281507f9043bc9
[lilypond.git] / src / lyricstaff.cc
1 #include "musicalrequest.hh"
2 #include "voice.hh"
3 #include "staffwalker.hh"
4 #include "debug.hh"
5 #include "staff.hh"
6 #include "lyricstaff.hh"
7 #include "lyriccolumn.hh"
8 #include "lyricwalker.hh"
9 #include "pscore.hh"
10
11 Lyric_staff::Lyric_staff()
12 {
13     pstaff_l_=0;
14 }
15
16 Staff_column*
17 Lyric_staff::create_col()
18 {
19     return new Lyric_column(this);
20 }
21
22 void
23 Lyric_staff::set_output(PScore*pscore_l)
24 {
25     pstaff_l_ = new PStaff(pscore_l);
26     pscore_l_ = pscore_l;
27     pscore_l_->add(pstaff_l_);
28 }
29
30 Staff_walker*
31 Lyric_staff::get_walker_p()
32 {
33     return new Lyric_walker(this);
34 }