bool error_mark_b_;
virtual String TeX_string() const;
-
DECLARE_MY_RUNTIME_TYPEINFO;
Line_of_score();
Link_array<Line_of_score> get_lines()const;
void set_breaking(Array<Col_hpositions> const&);
-
+
protected:
- virtual void break_into_pieces();
+ virtual void break_into_pieces(bool);
virtual Interval do_width()const;
virtual void do_print() const;
SCORE_ELEM_CLONE(Line_of_score);
#include "lily-proto.hh"
#include "score-elem.hh"
-
-
/** a symbol which is attached between two columns. A spanner is a
symbol which spans across several columns, so its final appearance
can only be calculated after the breaking problem is solved.
bool broken_b() const;
Spanner* find_broken_piece(Line_of_score*)const;
protected:
+ void set_my_columns();
SCORE_ELEM_CLONE(Spanner);
- virtual void break_into_pieces();
+
+ /**
+ this is virtual; for instance, Line_of_score overrides it.
+ */
+ virtual void break_into_pieces(bool);
Link_array<Spanner> broken_into_l_arr_;
if (breaking.size() >1) {
line_p = (Line_of_score*)clone()->spanner();
+ line_p->copy_dependencies( *this );
line_l = line_p;
} else
line_l = this;
}
void
-Line_of_score::break_into_pieces()
+Line_of_score::break_into_pieces(bool)
{
}
{
Link_array<Line_of_score> ret;
- if(broken_into_l_arr_.size())
+ if (broken_into_l_arr_.size())
for (int i=0; i < broken_into_l_arr_.size(); i++) {
ret.push((Line_of_score*)broken_into_l_arr_[i]);
}