]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/col-info.hh
release: 0.1.57
[lilypond.git] / lily / include / col-info.hh
index 36a2f73f721fa3d06a8b8ede55fec088ee228eb8..8e64f68d466be2e2268e552233852e705bec8780 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  col-info.hh -- declare 
+  col-info.hh -- declare Colinfo
 
   source file of the GNU LilyPond music typesetter
 
 #include "lily-proto.hh"
 #include "pointer.hh"
 #include "interval.hh"
+#include "drul-array.hh"
+
+struct Spacer_rod {
+  Real distance_f_;
+  int other_idx_;
+  void print () const;
+};
+
 
 /// helper struct for #Spacing_problem#
 struct Colinfo {
-    PCol *pcol_l_;
-    P<Real> fixpos_p_;
-    Interval width;
-    int rank_i_;
-    /// did some tricks to make this column come out.
-    bool ugh_b_;               
-    /* *************** */
-    Colinfo();
-    Colinfo (PCol *,Real const *);
-
-    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; }
+  Paper_column *pcol_l_;
+  P<Real> fixpos_p_;
+
+  Interval width_;
+  int rank_i_;
+  /// did some tricks to make this column come out.
+  bool ugh_b_;         
+
+  Drul_array< Array<Spacer_rod> > rods_;
+  
+  /* *************** */
+  Colinfo();
+  Colinfo (Paper_column *,Real const *);
+
+  int rank_i () const;
+  void print() const;
+  bool fixed_b() const ;
+  Real fixed_position() const ;
 };
 
 #endif // COL_INFO_HH