From fe05d0d73777f8aa62981e5c2fd7e01d99e31630 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:43:58 +0000 Subject: [PATCH] lilypond-0.0.65 --- lily/include/complex-walker.hh | 7 +++---- lily/include/staff.hh | 16 ++++++++-------- lily/include/tex.hh | 14 ++++++++++++-- lily/input-staff.cc | 5 ++--- 4 files changed, 25 insertions(+), 17 deletions(-) diff --git a/lily/include/complex-walker.hh b/lily/include/complex-walker.hh index 44f445f069..cc16eef1b3 100644 --- a/lily/include/complex-walker.hh +++ b/lily/include/complex-walker.hh @@ -7,9 +7,9 @@ #ifndef COMPLEXWALKER_HH #define COMPLEXWALKER_HH -#include "proto.hh" +#include "lily-proto.hh" #include "staff-walker.hh" -#include "staff-elem-info.hh" +#include "score-elem-info.hh" /** A staff walker which uses registers to decide what to print @@ -33,10 +33,9 @@ public: virtual void do_post_move(); virtual void do_pre_move(); - Complex_walker(Complex_staff*); + Complex_walker(Staff*); ~Complex_walker(); - Complex_staff *staff(); private: }; diff --git a/lily/include/staff.hh b/lily/include/staff.hh index 7811f76c0e..f9f24d8150 100644 --- a/lily/include/staff.hh +++ b/lily/include/staff.hh @@ -1,7 +1,7 @@ /* staff.hh -- declare Staff - source file of the LilyPond music typesetter + source file of the GNU LilyPond music typesetter (c) 1997 Han-Wen Nienhuys */ @@ -10,10 +10,10 @@ #define STAFF_HH #include "plist.hh" -#include "proto.hh" +#include "lily-proto.hh" #include "moment.hh" -/// base class for a collection of voices. +/// A collection of voices. class Staff { Staff(const Staff&src); @@ -23,14 +23,14 @@ public: Link_list voice_list_; /// runtime field Link_list cols_; + Line_of_staff * staff_line_l_; Score *score_l_; PScore *pscore_l_; - PStaff *pstaff_l_; /* *************************************************************** */ - void add(const Link_list &s); + void add(Link_list const&s); void add_voice(Voice *v_p); Paper_def*paper()const; @@ -45,9 +45,9 @@ public: void clean_cols() ; Staff(); - virtual void set_output(PScore * destination)=0; - virtual Staff_walker *get_walker_p()=0; - virtual ~Staff() { } + virtual void set_output(PScore * destination); + Staff_walker *get_walker_p(); + virtual ~Staff(); void add_col(Staff_column*); protected: diff --git a/lily/include/tex.hh b/lily/include/tex.hh index af45ba7d27..386c9b29dd 100644 --- a/lily/include/tex.hh +++ b/lily/include/tex.hh @@ -1,3 +1,13 @@ +/* + tex.hh -- declare various functions for TeX output + + source file of the LilyPond music typesetter + + (c) 1997 Han-Wen Nienhuys +*/ + + + #ifndef TEX_HH #define TEX_HH @@ -5,7 +15,7 @@ #include "boxes.hh" #include "scalar.hh" -/** parameter substitution in TeXstrings. +/** parameter substitution in TeX_strings. this function provides a simple macro mechanism: if source == "tex%bla%", then @@ -14,7 +24,7 @@ String substitute_args(String source, Array args); -/// parameter substitution in TeXstrings +/// parameter substitution in TeX_strings String substitute_args(String source, Array args); diff --git a/lily/input-staff.cc b/lily/input-staff.cc index 618d98f012..0b127baacb 100644 --- a/lily/input-staff.cc +++ b/lily/input-staff.cc @@ -1,7 +1,7 @@ /* input-staff.cc -- implement Input_staff - source file of the LilyPond music typesetter + source file of the GNU LilyPond music typesetter (c) 1997 Han-Wen Nienhuys */ @@ -11,7 +11,6 @@ #include "input-music.hh" #include "input-staff.hh" #include "staff.hh" -#include "complex-staff.hh" #include "my-lily-lexer.hh" #include "input-register.hh" @@ -29,7 +28,7 @@ Input_staff::add(Input_music*m) Staff* Input_staff::parse(Score*score_l) { - Staff *p=new Complex_staff; + Staff *p=new Staff; p->score_l_ = score_l; p->ireg_p_ = (ireg_p_)? new Input_register(*ireg_p_):0; -- 2.39.5