X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Flyric-extender.hh;h=b5410bbdb300ea6a32142c8bfbbf2fcbacbaa8c3;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=1204a3befc1c37d77221f23d9cc1fd4381db2c50;hpb=9b40d66187029df3dca86fc5ecc65f64db315a48;p=lilypond.git diff --git a/lily/include/lyric-extender.hh b/lily/include/lyric-extender.hh index 1204a3befc..b5410bbdb3 100644 --- a/lily/include/lyric-extender.hh +++ b/lily/include/lyric-extender.hh @@ -2,20 +2,16 @@ /* extender-spanner.hh -- part of GNU LilyPond - (c) 1998--2000 Jan Nieuwenhuizen + (c) 1998--2008 Jan Nieuwenhuizen */ #ifndef EXTENDER_SPANNER_HH #define EXTENDER_SPANNER_HH -#include "spanner.hh" - -/** - simple extender line - - The extender is a simple line at the baseline of the lyric - that helps show the length of a melissima (tied/slurred note). +#include "grob-interface.hh" +#include "lily-proto.hh" +/* Extenders must be entered manually for now. Although it would be possible for Lily to determine where to @@ -26,24 +22,13 @@ for on a word's last syllable. The extender should be aligned with the left side of the last note of the melissima, and not extend beond, lasting the whole duration of the melissima - (as in MUP, urg). - - Properties: - - word-space -- - - height -- in stafflinethickness +*/ - right-trim-amount -- - - */ -class Lyric_extender // interface +class Lyric_extender { public: - Spanner*elt_l_; - Lyric_extender (Spanner*); - void set_textitem (Direction, Score_element*); - DECLARE_SCHEME_CALLBACK(brew_molecule, (SCM )); + DECLARE_GROB_INTERFACE(); + DECLARE_SCHEME_CALLBACK (print, (SCM)); }; #endif // EXTENDER_SPANNER_HH