void
Score::process()
{
- *mlog << "Processing ... ";
+ *mlog << "\nProcessing ... ";
assert (paper_);
// do this after processing, staffs first have to generate PCols.
do_pcols();
- // ugh. Would want to clean the columns before anything else.
- clean_cols();
+
+ clean_cols(); // can't move this farther up.
+
calc_idealspacing();
// debugging
*/
// todo
PCursor<Score_column*>
-Score::create_cols(Real w)
+Score::create_cols(Moment w)
{
Score_column* c1 = new Score_column(w);
Score_column* c2 = new Score_column(w);
}
PCursor<Score_column*>
-Score::find_col(Real w,bool mus)
+Score::find_col(Moment w,bool mus)
{
PCursor<Score_column*> i(cols_);
for (; i.ok(); i++) {
pscore_->add(i->pcol_);
}
}
-Real
+Moment
Score::last() const
{
- Real l = 0;
+ Moment l = 0;
for (PCursor<Staff*> i(staffs_); i.ok(); i++) {
- l = MAX(l, i->last());
+ l = l>? i->last();
}
return l;
}