#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
virtual void do_post_move();
virtual void do_pre_move();
- Complex_walker(Complex_staff*);
+ Complex_walker(Staff*);
~Complex_walker();
- Complex_staff *staff();
private:
};
/*
staff.hh -- declare Staff
- source file of the LilyPond music typesetter
+ source file of the GNU LilyPond music typesetter
(c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
*/
#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);
Link_list<Voice*> voice_list_;
/// runtime field
Link_list<Staff_column*> cols_;
+ Line_of_staff * staff_line_l_;
Score *score_l_;
PScore *pscore_l_;
- PStaff *pstaff_l_;
/* *************************************************************** */
- void add(const Link_list<Voice*> &s);
+ void add(Link_list<Voice*> const&s);
void add_voice(Voice *v_p);
Paper_def*paper()const;
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:
+/*
+ tex.hh -- declare various functions for TeX output
+
+ source file of the LilyPond music typesetter
+
+ (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+
+
#ifndef TEX_HH
#define TEX_HH
#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
String
substitute_args(String source, Array<String> args);
-/// parameter substitution in TeXstrings
+/// parameter substitution in TeX_strings
String
substitute_args(String source, Array<Scalar> args);
/*
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 <hanwen@stack.nl>
*/
#include "input-music.hh"
#include "input-staff.hh"
#include "staff.hh"
-#include "complex-staff.hh"
#include "my-lily-lexer.hh"
#include "input-register.hh"
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;