/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1996--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 1996--2012 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
for (vsize i = 0; i < cols_.size (); i++)
{
- Item *it = dynamic_cast<Item*> (cols_[i]);
+ Item *it = dynamic_cast<Item *> (cols_[i]);
if (Paper_column::is_breakable (cols_[i])
- && (i == 0 || it->find_prebroken_piece (LEFT))
- && (i == cols_.size () - 1 || it->find_prebroken_piece (RIGHT)))
- {
- break_indices_.push_back (i);
- break_ranks_.push_back (it->get_column ()->get_rank ());
- }
+ && (i == 0 || it->find_prebroken_piece (LEFT))
+ && (i == cols_.size () - 1 || it->find_prebroken_piece (RIGHT)))
+ {
+ break_indices_.push_back (i);
+ break_ranks_.push_back (it->get_column ()->get_rank ());
+ }
}
}
return break_indices_;
}
-vector<Grob*>
+vector<Grob *>
Paper_score::get_columns () const
{
if (cols_.empty ())
void
Paper_score::process ()
{
- if (be_verbose_global)
- message (_f ("Element count %d (spanners %d) ",
- system_->element_count (),
- system_->spanner_count ()));
+ debug_output (_f ("Element count %d (spanners %d) ",
+ system_->element_count (),
+ system_->spanner_count ()));
message (_ ("Preprocessing graphical objects..."));
return paper_systems_;
}
-
Paper_score *
unsmob_paper_score (SCM x)
{
- return dynamic_cast<Paper_score*> (unsmob_music_output (x));
+ return dynamic_cast<Paper_score *> (unsmob_music_output (x));
}