2 lyricwalker.cc -- implement Lyric_walker
4 source file of the LilyPond music typesetter
6 (c) 1997 Jan Nieuwenhuizen <jan@digicash.com>
9 #include "musical-request.hh"
12 #include "lyric-staff.hh"
13 #include "lyric-walker.hh"
15 #include "lyric-item.hh"
16 #include "staff-column.hh"
19 Lyric_walker::process_requests()
24 for (int i
= 0; i
< ptr()->musicalreq_l_arr_
.size(); i
++) {
25 Lyric_req
* lreq_l
= ptr()->musicalreq_l_arr_
[i
]->lreq_l();
28 Item
*lp
= new Lyric_item(lreq_l
,req_count
++);
29 ptr()->typeset_musical_item( lp
);
33 Lyric_walker::Lyric_walker(Lyric_staff
* lstaff_l
)
34 : Staff_walker(lstaff_l
, lstaff_l
->pstaff_l_
->pscore_l_
)