From 46a02fbddce144229038e1e013edb90c2e9a74e8 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:59:42 +0000 Subject: [PATCH] lilypond-0.1.52 --- lily/include/p-col.hh | 10 +++++++++- lily/include/spanner.hh | 4 +++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/lily/include/p-col.hh b/lily/include/p-col.hh index c297bb7843..0a5487a138 100644 --- a/lily/include/p-col.hh +++ b/lily/include/p-col.hh @@ -12,6 +12,8 @@ #include "horizontal-group-item.hh" #include "plist.hh" +#include "rod.hh" + /** stuff grouped vertically. @@ -30,6 +32,11 @@ class Paper_column : public Horizontal_group_item { public: DECLARE_MY_RUNTIME_TYPEINFO; SCORE_ELEM_CLONE(Paper_column); + Drul_array< Array > minimal_dists_arr_drul_; + + void preprocess (); + /// set a minimum distance + void add_rod (Paper_column * to, Real distance, Direction d); /** prebreak is put before end of line. if broken here, then (*this) column is discarded, and prebreak @@ -39,7 +46,8 @@ public: /// postbreak at beginning of the new line Paper_column *postbreak_l() const; - + + virtual Paper_column * column_l () const; /// if lines are broken then this column is in #line# Line_of_score *line_l_; diff --git a/lily/include/spanner.hh b/lily/include/spanner.hh index ad205fcbf0..0559dce40d 100644 --- a/lily/include/spanner.hh +++ b/lily/include/spanner.hh @@ -10,6 +10,7 @@ #include "lily-proto.hh" #include "score-elem.hh" #include "drul-array.hh" +#include "rod.hh" /** A symbol which is attached between two columns. A spanner is a symbol which spans across several columns, so its final appearance @@ -41,7 +42,7 @@ public: virtual Spanner* spanner() { return this; } Spanner(); bool broken_b() const; - + virtual Array get_rods () const; Spanner* find_broken_piece (Line_of_score*) const; protected: void set_my_columns(); @@ -57,6 +58,7 @@ protected: virtual void do_unlink(); virtual void do_junk_links(); virtual void do_brew_molecule (); + virtual void do_space_processing (); virtual void do_break_processing(); virtual Interval do_width() const; virtual void do_print() const; -- 2.39.5