/*
column-x-positions.hh -- part of GNU LilyPond
- (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#ifndef COLUMN_X_POSITIONS_HH
#include "parray.hh"
#include "lily-proto.hh"
-typedef Link_array<Paper_column> Line_of_cols;
+struct Column_x_positions
+{
+ Link_array<Grob> cols_;
+ Link_array<Grob> loose_cols_;
-struct Column_x_positions {
- Line_spacer * spacer_l_;
- Line_of_cols cols_;
Array<Real> config_;
-
- Real energy_f_;
- bool satisfies_constraints_b_;
-
- void OK() const;
- ~Column_x_positions();
- void solve_line();
- void approximate_solve_line();
- /** generate a solution with no regard to idealspacings or
- constraints. should always work */
- void stupid_solution();
- Column_x_positions();
- void add_paper_column (Paper_column*c);
- void print() const;
-};
+ Real force_;
+ bool satisfies_constraints_;
+ Column_x_positions ();
+};
#endif // COLUMN_X_POSITIONS_HH