X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fhyphen-spanner.hh;h=68c3e1636081f456c4756dd4e5059b4a2ec8de80;hb=bcdd0abf2410919d2036be984ad4f2f42fd766d3;hp=f1ef2ea45d4a04a6454fbc9c498154e8e234a5aa;hpb=c52973e438ce3490d688860bb71849a7b3c26fef;p=lilypond.git diff --git a/lily/include/hyphen-spanner.hh b/lily/include/hyphen-spanner.hh index f1ef2ea45d..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,22 +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. - */ -struct Hyphen_spanner // interface +struct Hyphen_spanner { public: - Spanner* elt_l_; - Hyphen_spanner (Spanner*); - void set_textitem (Direction, Item*); - static SCM scheme_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