From: fred Date: Sat, 4 Jan 1997 00:17:34 +0000 (+0000) Subject: lilypond-0.0.21 X-Git-Tag: release/1.5.59~6443 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1f33aa5fad007c664335bcb6fc78c67e0a5cfadc;p=lilypond.git lilypond-0.0.21 --- diff --git a/hdr/pscore.hh b/hdr/pscore.hh index 33741e9263..8ad259412e 100644 --- a/hdr/pscore.hh +++ b/hdr/pscore.hh @@ -3,7 +3,7 @@ #ifndef PSCORE_HH #define PSCORE_HH - +#include "break.hh" #include "vray.hh" #include "pcol.hh" #include "pstaff.hh" @@ -54,16 +54,11 @@ struct PScore { /// after calc_breaking void postprocess(); - /// search all pcols which are breakable. - svec< PCol *> find_breaks() const; - /// add a line to the broken stuff. Positions given in #config# - void add_line(svec< PCol *> curline, svec config); - - /// helper: solve for the columns in #curline#. - svec solve_line(svec curline) const; + void set_breaking(svec< Col_configuration> ); void add(PStaff *); + /// add item void typeset_item(Item *, PCol *,PStaff*,int=1); @@ -88,19 +83,13 @@ struct PScore { /// delete unused columns void clean_cols(); - - /// check if the spacing/breaking problem is well-stated - void problem_OK() const; - /// invarinants void OK()const; + PScore(Paperdef*); void print() const; - /// does curline fit on the paper? - bool feasible(svec curline) const; - - /// which is first (left, higher) + /// which is first (left, higher) int compare_pcols( PCol*, PCol*)const; }; /** notes, signs, symbols in a score can be grouped in two ways: