From bea7a70391178e4eeb4078b3db4ae0791165dabd Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 1 Nov 1996 13:33:40 +0000 Subject: [PATCH] lilypond-0.0.9 --- hdr/score.hh | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 hdr/score.hh diff --git a/hdr/score.hh b/hdr/score.hh new file mode 100644 index 0000000000..176d7fa47a --- /dev/null +++ b/hdr/score.hh @@ -0,0 +1,52 @@ +#ifndef SCORE_HH +#define SCORE_HH +#include "vray.hh" +#include "proto.hh" +#include "plist.hh" + + +/// the total music def of one movement +struct Score { + /// paper_, staffs_ and commands_ form the problem definition. + Paperdef *paper_; + PointerList staffs_; + Score_commands *commands_; + + /// "runtime" fields for setting up spacing + PointerList cols_; + PScore *pscore_; + + /****************************************************************/ + + /// construction + void add_staff(Staff *st); + void set(Paperdef*); + Score(); + ~Score(); + void add(Staff*); + void set(Score_commands*); + + + void OK() const; + Score_column *find_col(Real,bool); + void process(); + void output(String fn); + PCursor create_cols(Real); + void print() const; + Real last() const; + +private: + void do_pcols(); + void clean_cols(); + void distribute_commands(); + void do_connect(PCol *c1, PCol *c2, Real d); + void connect_nonmus(PCol* c1, PCol *c2, Real d); + /// add #Idealspacings# to #pscore_# + void calc_idealspacing(); + /** add the score wide commands (bars, breaks) to each staff so + they can process (typeset) them if needed */ +}; +/** + + */ +#endif -- 2.39.5