]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/break-algorithm.hh
* lily/lookup.cc (triangle): new function.
[lilypond.git] / lily / include / break-algorithm.hh
index ba0048b9b221b26b6659bb75d271946ef585afaa..adcd966d43787994bc0c91bbe031974bfd232b82 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1996--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1996--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
   */
 class Break_algorithm {
 protected:
-  Paper_score *pscore_l_;
-  Real linewidth_f_;
+  Paper_score *pscore_;
+  Real linewidth_;
 
   /// search all pcols which are breakable.
-  Link_array<Item> find_breaks () const;
+  Link_array<Grob> find_breaks () const;
 
   Array<int> find_break_indices () const;
     
@@ -37,10 +37,10 @@ protected:
   void solve_line (Column_x_positions*) const;
 
   /// does curline fit on the paper?    
-  bool feasible (Link_array<Item>) const;
+  bool feasible (Link_array<Grob> const &) const;
     
 
-  Simple_spacer* generate_spacing_problem (Link_array<Item>, Interval) const;
+  Simple_spacer* generate_spacing_problem (Link_array<Grob> const &, Interval) const;
 
   virtual Array<Column_x_positions> do_solve () const=0;