X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fcolumn-x-positions.hh;h=9a254a66f293d63d738a355da96c136251c35cce;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=2807eca851a84d790f75afd09704d63d54398cea;hpb=42760f5db93014a878f17f05538464326683d354;p=lilypond.git diff --git a/lily/include/column-x-positions.hh b/lily/include/column-x-positions.hh index 2807eca851..9a254a66f2 100644 --- a/lily/include/column-x-positions.hh +++ b/lily/include/column-x-positions.hh @@ -1,37 +1,26 @@ /* column-x-positions.hh -- part of GNU LilyPond - (c) 1997--1999 Han-Wen Nienhuys + (c) 1997--2008 Han-Wen Nienhuys */ #ifndef COLUMN_X_POSITIONS_HH #define COLUMN_X_POSITIONS_HH -#include "parray.hh" +#include "std-vector.hh" #include "lily-proto.hh" -typedef Link_array Line_of_cols; - -struct Column_x_positions { - Line_spacer * spacer_l_; - Line_of_cols cols_; - Array 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; -}; +struct Column_x_positions +{ + vector cols_; + vector loose_cols_; + + vector config_; + Real force_; + bool satisfies_constraints_; + Column_x_positions (); +}; #endif // COLUMN_X_POSITIONS_HH