source file of the GNU LilyPond music typesetter
- (c) 1996--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1996--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "paper-column.hh"
#include "break-algorithm.hh"
#include "paper-def.hh"
#include "debug.hh"
-#include "line-of-score.hh"
+#include "system.hh"
#include "paper-score.hh"
#include "paper-column.hh"
#include "cpu-timer.hh"
Simple_spacer*
-Break_algorithm::generate_spacing_problem (Link_array<Grob> curline, Interval line) const
+Break_algorithm::generate_spacing_problem (Link_array<Grob> const &curline,
+ Interval line) const
{
Simple_spacer * sp = new Simple_spacer;
/*
this is hardcoded, but this shouldn't happen anyway.
- used to be g et_var ("loose_column_distance");
+ used to be get_var ("loose_column_distance");
*/
sp->default_space_f_ = 1.0;
/*
sort out how interfacing this should work;
*/
- if (line.empty_b())
+ if (line.empty_b ())
{
sp->line_len_f_ = -1;
}
Break_algorithm::set_pscore (Paper_score*s)
{
pscore_l_ = s;
- linewidth_f_ = s->paper_l_->get_var("linewidth");
+ linewidth_f_ = s->paper_l_->get_var ("linewidth");
}
Array<Column_x_positions>