X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fspacing-spanner.hh;h=eb3a0eb1a81dc2f422a486eda35027a415d2eea1;hb=f798a4c8737f0d279fcf54ba4f0951074565fa76;hp=fbf332b2c7661d97f26847e7ddce2fd0248ca87b;hpb=cfb5287829e4c8df689ef42e4367c44e51298dcd;p=lilypond.git diff --git a/lily/include/spacing-spanner.hh b/lily/include/spacing-spanner.hh index fbf332b2c7..eb3a0eb1a8 100644 --- a/lily/include/spacing-spanner.hh +++ b/lily/include/spacing-spanner.hh @@ -10,13 +10,23 @@ #ifndef SPACING_SPANNER_HH #define SPACING_SPANNER_HH +#include "spanner.hh" + class Spacing_spanner : public Spanner { - Link_array cols_; - +public: Spacing_spanner (); + + VIRTUAL_COPY_CONS(Score_element); + Array do_measure (Link_array) const; + protected: - virtual void do_space_processing (); + virtual Array get_springs () const; + + Real stem_dir_correction (Paper_column*,Paper_column*) const; + Real default_bar_spacing (Paper_column*,Paper_column*,Moment) const; + Real note_spacing (Paper_column*,Paper_column*,Moment) const; + Real get_duration_space (Moment dur, Moment shortest) const; }; #endif /* SPACING_SPANNER_HH */