From: fred Date: Sun, 24 Mar 2002 19:44:02 +0000 (+0000) Subject: lilypond-0.0.65 X-Git-Tag: release/1.5.59~4688 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4c0391944e28eadb4c8afc7ab8f5208b2fcb3f57;p=lilypond.git lilypond-0.0.65 --- diff --git a/lily/idealspacing.cc b/lily/idealspacing.cc index 8437aabe22..f1ff3691d5 100644 --- a/lily/idealspacing.cc +++ b/lily/idealspacing.cc @@ -1,7 +1,6 @@ #include "idealspacing.hh" #include "p-col.hh" #include "p-score.hh" -#include "p-staff.hh" #include "debug.hh" void @@ -10,7 +9,7 @@ Idealspacing::print() const #ifndef NPRINT mtor << "idealspacing {" ; mtor << "distance "<rank() << " right " << right->rank() << "}\n"; + mtor << "left " << left->rank_i() << " right " << right->rank_i() << "}\n"; #endif } diff --git a/lily/include/p-col.hh b/lily/include/p-col.hh index 71b5887c98..11d1cc8cc0 100644 --- a/lily/include/p-col.hh +++ b/lily/include/p-col.hh @@ -22,8 +22,8 @@ class PCol { public: - Link_list its; - Link_list stoppers, starters; + Link_list its; + Link_list stoppers, starters; /** prebreak is put before end of line. if broken here, then (*this) column is discarded, and prebreak @@ -39,7 +39,7 @@ public: PCol *daddy_l_; /// if lines are broken then this column is in #line# - Line_of_score const *line_l_; + Line_of_score *line_l_; /** if lines are broken then this column x-coord #hpos# if not known, then hpos == -1.(ugh?) */ @@ -52,7 +52,7 @@ public: /* *************** */ /// which one (left =0) - int rank() const; + int rank_i() const; /// does this column have items bool used_b() const; diff --git a/lily/p-col.cc b/lily/p-col.cc index ae39bdda9a..66701e3840 100644 --- a/lily/p-col.cc +++ b/lily/p-col.cc @@ -1,14 +1,14 @@ /* p-col.cc -- implement PCol - source file of the LilyPond music typesetter + source file of the GNU LilyPond music typesetter (c) 1997 Han-Wen Nienhuys */ #include "p-col.hh" #include "p-score.hh" -#include "p-staff.hh" + #include "debug.hh" Interval @@ -24,7 +24,7 @@ PCol::width() const } int -PCol::rank() const +PCol::rank_i() const { assert(rank_i_ != -1); return rank_i_; @@ -66,7 +66,7 @@ PCol::print() const int PCol::compare(PCol const &c1, PCol const &c2) { - return c1.rank() - c2.rank(); + return c1.rank_i() - c2.rank_i(); } void