X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fhyphen-spanner.hh;h=68c3e1636081f456c4756dd4e5059b4a2ec8de80;hb=b3871fcf672bf14baf76578ec60e521fb24d184d;hp=fba4ed4c263543c9bf62ba9d33bdf125a2d2b1ff;hpb=9b40d66187029df3dca86fc5ecc65f64db315a48;p=lilypond.git diff --git a/lily/include/hyphen-spanner.hh b/lily/include/hyphen-spanner.hh index fba4ed4c26..68c3e16360 100644 --- a/lily/include/hyphen-spanner.hh +++ b/lily/include/hyphen-spanner.hh @@ -1,7 +1,7 @@ /* hyphen-spanner.hh -- part of GNU LilyPond - (c) 1999 Glen Prideaux + (c) 1999--2003 Glen Prideaux */ #ifndef HYPHEN_SPANNER_HH @@ -9,34 +9,16 @@ #include "spanner.hh" -/** - centred hyphen - - A centred hyphen is a simple line between lyrics used to - divide syllables. - - The length of the hyphen line should stretch based on the - size of the gap between syllables. - -properties: - - thickness -- thickness of line (in stafflinethickness) - - height -- vertical offset (in staffspace) - - minimum-length -- try to make the hyphens at least this long. Also works - as a scaling parameter for the length - - word-space -- elongate left by this much (FIXME: cumbersome semantics) - - */ struct Hyphen_spanner { public: - Spanner* elt_l_; - Hyphen_spanner (Spanner*); - void set_textitem (Direction, Score_element*); - DECLARE_SCHEME_CALLBACK(brew_molecule, (SCM )); + Spanner* elt_; + + DECLARE_SCHEME_CALLBACK(set_spacing_rods, (SCM)); + Hyphen_spanner (Spanner*); + void set_textitem (Direction, Grob*); + bool has_interface (Grob*); + DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM )); }; #endif // HYPHEN_SPANNER_HH