From e01a33436a79f75e999eec4dfcfdc4a0b4aee628 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 19 Dec 1996 00:55:44 +0000 Subject: [PATCH] lilypond-0.0.18 --- hdr/pscore.hh | 12 ++++++------ src/score.cc | 5 +++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/hdr/pscore.hh b/hdr/pscore.hh index 00fb79bccc..33741e9263 100644 --- a/hdr/pscore.hh +++ b/hdr/pscore.hh @@ -55,13 +55,13 @@ struct PScore { void postprocess(); /// search all pcols which are breakable. - svec find_breaks() const; + svec< PCol *> find_breaks() const; /// add a line to the broken stuff. Positions given in #config# - void add_line(svec curline, svec config); + void add_line(svec< PCol *> curline, svec config); /// helper: solve for the columns in #curline#. - svec solve_line(svec curline) const; + svec solve_line(svec curline) const; void add(PStaff *); /// add item @@ -83,7 +83,7 @@ struct PScore { */ /// return argument as a cursor. - PCursor find_col(const PCol *)const; + PCursor find_col(PCol *)const; /// delete unused columns void clean_cols(); @@ -98,10 +98,10 @@ struct PScore { void print() const; /// does curline fit on the paper? - bool feasible(svec curline) const; + bool feasible(svec curline) const; /// which is first (left, higher) - int compare_pcols(const PCol*, const PCol*)const; + int compare_pcols( PCol*, PCol*)const; }; /** notes, signs, symbols in a score can be grouped in two ways: horizontally (staffwise), and vertically (columns). #PScore# diff --git a/src/score.cc b/src/score.cc index 4c584c4ea7..5a65809c5a 100644 --- a/src/score.cc +++ b/src/score.cc @@ -24,8 +24,9 @@ Score::process() // do this after processing, staffs first have to generate PCols. do_pcols(); - // ugh. Would want to clean the columns before anything else. - clean_cols(); + + clean_cols(); // can't move this farther up. + calc_idealspacing(); // debugging -- 2.39.5