From c5cc6c5cf68d64b13ade81b3c3783dcab2ec71ef Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:56:26 +0000 Subject: [PATCH] lilypond-0.1.14 --- lily/scoreline.cc | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/lily/scoreline.cc b/lily/scoreline.cc index f332409152..2bd4f870b4 100644 --- a/lily/scoreline.cc +++ b/lily/scoreline.cc @@ -15,23 +15,6 @@ #include "p-score.hh" -/* To do: - - take out hard coded TeX stuff. - */ -String -Line_of_score::TeX_output_str () const -{ - String s ("\\hbox{%<- line of score\n"); - if (error_mark_b_) - s+= "\\scorelineerrormark"; - - s+= Score_elem::TeX_output_str(); - s += "}"; - return s; -} - - Line_of_score::Line_of_score() { error_mark_b_ = 0; @@ -131,10 +114,26 @@ Line_of_score::do_width() const return Spanner::do_width(); } +Link_array +Line_of_score::get_extra_dependencies () const +{ + Link_array r; + for (int i=0; i < cols.size (); i++) + r.push (cols[i]); + return r; +} + void -Line_of_score::do_breakable_col_processing() +Line_of_score::do_unlink () { for (int i=0; i < cols.size (); i++) - cols[i]->breakable_col_processing(); - Spanner::do_breakable_col_processing(); + cols[i]->line_l_ =0; + cols.set_size (0); +} + + +void +Line_of_score::do_junk_links () +{ + cols.set_size (0); } -- 2.39.5