]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.32
authorfred <fred>
Sun, 24 Mar 2002 19:29:40 +0000 (19:29 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:29:40 +0000 (19:29 +0000)
src/lyricwalker.cc

index 160b83ae9e46d2336d6f4be9174d8f46e30b298b..960c1e76e00e4955ba22af5172c235a258d86b95 100644 (file)
@@ -1,42 +1,34 @@
-#include "request.hh"
+/*
+  lyricwalker.cc -- implement Lyric_walker
+
+  source file of the LilyPond music typesetter
+
+  (c) 1997 Jan Nieuwenhuizen <jan@digicash.nl>
+*/
+
+#include "musicalrequest.hh"
 #include "voice.hh"
 #include "pscore.hh"
 #include "lyricstaff.hh"
 #include "lyricwalker.hh"
-//#include "sccol.hh"
 #include "debug.hh"
 #include "lyricitem.hh"
 
-void
-Lyric_walker::do_word(Word_info)
-{
-}
-
-void
-Lyric_walker::do_INTERPRET_command(Command* )
-{
-}
-
-void
-Lyric_walker::do_TYPESET_command(Command* )
-{
-}
-
 void
 Lyric_walker::process_requests()
 {
-    Lyric_column* lcol_l = Lyric_walker::lcol_l();
-
-    for (int i = 0; i <  lcol_l->winfo_array_.size(); i++)  {
-       lcol_l->typeset_item(new Lyric_item(lcol_l->winfo_array_[i].lreq_l_, i));
+    allow_break();
+    for (int i = 0; i <  lcol_l()->lreq_l_array_.size(); i++)  {
+       lcol_l()->typeset_item(
+           new Lyric_item(lcol_l()->lreq_l_array_[i],i)
+           );
     }
-    
 }
 
 Lyric_walker::Lyric_walker(Lyric_staff* lstaff_l)
     : Staff_walker(lstaff_l, lstaff_l->pstaff_l_->pscore_l_)
 {
-    reset();
+
 }
 
 
@@ -52,9 +44,3 @@ Lyric_walker::lcol_l()
 {
     return (Lyric_column*) *(*this);
 }
-
-void
-Lyric_walker::reset()
-{
-}
-