/*
- column-x-positions.hh -- part of GNU LilyPond
+ This file is part of LilyPond, the GNU music typesetter.
- (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ Copyright (C) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ LilyPond is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ LilyPond is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef COLUMN_X_POSITIONS_HH
#define COLUMN_X_POSITIONS_HH
-#include "parray.hh"
+#include "std-vector.hh"
#include "lily-proto.hh"
-
struct Column_x_positions
{
- Link_array<Paper_column> cols_;
- Array<Real> config_;
-
- Real force_f_;
- Real energy_f_;
- bool satisfies_constraints_b_;
-
- Column_x_positions();
-};
+ vector<Grob*> cols_;
+ vector<Grob*> loose_cols_;
+
+ vector<Real> config_;
+ Real force_;
+ bool satisfies_constraints_;
+ Column_x_positions ();
+};
#endif // COLUMN_X_POSITIONS_HH