]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.22
authorfred <fred>
Sun, 24 Mar 2002 19:56:36 +0000 (19:56 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:56:36 +0000 (19:56 +0000)
lily/col-info.cc
lily/include/col-info.hh

index 086b7c7e3e9492a9db256872c6f4ab931755a695..83c7f61fbc0296646a13f91b386dbd0dc2065ab9 100644 (file)
@@ -18,7 +18,7 @@ Colinfo::print() const
   if (fixed())
     DOUT << "fixed at " << fixed_position()<<", ";
   assert (pcol_l_);
-  DOUT << "[" << minleft() << ", " << minright () << "]";
+  DOUT << width_.str();
   DOUT <<"}\n";
 #endif
 }
@@ -29,9 +29,9 @@ Colinfo::Colinfo (Paper_column *col_l, Real const *fixed_C)
     fixpos_p_.set_l (fixed_C);
   ugh_b_ = false;
   pcol_l_ = col_l;
-  width = pcol_l_->width();
-  if (width.empty_b())
-    width = Interval(0,0);
+  width_ = pcol_l_->width();
+  if (width_.empty_b())
+    width_ = Interval(0,0);
 }
 
 
index 505c11f991b2463dd9047852086eed7f72d5451e..46f6cf20c3d4f87734246c30796bf9c8bae40fb1 100644 (file)
@@ -18,7 +18,7 @@
 struct Colinfo {
     Paper_column *pcol_l_;
     P<Real> fixpos_p_;
-    Interval width;
+    Interval width_;
     int rank_i_;
     /// did some tricks to make this column come out.
     bool ugh_b_;               
@@ -29,8 +29,6 @@ struct Colinfo {
     void print() const;
     bool fixed() const { return fixpos_p_.get_C();}
     Real fixed_position() const { return *fixpos_p_; }
-    Real minright() const { return width.right; }
-    Real minleft() const { return -width.left; }
 };
 
 #endif // COL_INFO_HH