2 lyricwalker.cc -- implement Lyric_walker
4 source file of the LilyPond music typesetter
6 (c) 1997 Jan Nieuwenhuizen <jan@digicash.nl>
9 #include "musicalrequest.hh"
12 #include "lyricstaff.hh"
13 #include "lyricwalker.hh"
15 #include "lyricitem.hh"
18 Lyric_walker::process_requests()
21 for (int i = 0; i < lcol_l()->lreq_l_array_.size(); i++) {
22 lcol_l()->typeset_item(
23 new Lyric_item(lcol_l()->lreq_l_array_[i],i)
28 Lyric_walker::Lyric_walker(Lyric_staff* lstaff_l)
29 : Staff_walker(lstaff_l, lstaff_l->pstaff_l_->pscore_l_)
37 Lyric_walker::lstaff_l()
39 return (Lyric_staff*)staff_l_;
43 Lyric_walker::lcol_l()
45 return (Lyric_column*) *(*this);