X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fhyphen-spanner.hh;h=f4ed165ccf8d92e0a6116bf3eacfe05b118c91f0;hb=e10092f994cb34537e4cfb1f4848c1f610cd58ff;hp=24c1ab7299341db65e37a79142f07179858204fb;hpb=76f13ab50fc726c89fa7c96f3deed519d2d773dc;p=lilypond.git diff --git a/lily/include/hyphen-spanner.hh b/lily/include/hyphen-spanner.hh index 24c1ab7299..f4ed165ccf 100644 --- a/lily/include/hyphen-spanner.hh +++ b/lily/include/hyphen-spanner.hh @@ -9,30 +9,14 @@ #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. - */ -class Hyphen_spanner : public Spanner +struct Hyphen_spanner { public: - Hyphen_spanner (SCM); - void set_textitem (Direction, Item*); - -protected: - virtual Molecule do_brew_molecule () const; - Interval do_height () const; - - void after_line_breaking (); - - VIRTUAL_COPY_CONS (Score_element); - - Drul_array dx_f_drul_; + Spanner* elt_l_; + Hyphen_spanner (Spanner*); + void set_textitem (Direction, Grob*); + bool has_interface (Grob*); + DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM )); }; #endif // HYPHEN_SPANNER_HH