if (!(i.elem_l_->name() == Note_column::static_name()))
return;
- if (!col_p_)
+ if (!col_p_) {
col_p_ = new Collision;
-
+ announce_element(Score_elem_info(col_p_,0));
+ }
col_p_->add((Note_column*)i.elem_l_->item());
}
#include "score-elem.hh"
/**
- a horizontally fixed size element of the score
+ A horizontally fixed size element of the score.
Item is the datastructure for printables whose width is known
before the spacing is calculated
Item * broken_to_a_[2];
- // nobreak = 0, pre =1, post = 2
+ /// should be put in a breakable col.
+ bool breakable_b_;
+ int break_status_i_;
+ /// nobreak = 0, pre = -1, post = 1
int break_status_i()const;
Item * find_prebroken_piece(PCol*)const;
Item * find_prebroken_piece(Line_of_score*)const;
virtual void do_print()const;
void copy_breakable_items();
-
};
}
else if (nC == Note_column::static_name()) {
// what should i do, what should _engraver do?
- if (!rest_collision_p_)
+ if (!rest_collision_p_) {
rest_collision_p_ = new Rest_collision;
+ announce_element(Score_elem_info(rest_collision_p_, 0));
+ }
rest_collision_p_->add((Note_column*)i.elem_l_->item());
}
else if (nC == Rest_column::static_name()) {