X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Finclude%2Ftext-spanner.hh;h=7f1486b143419253eb1a08232f6eb8e05f92d7e1;hb=refs%2Ftags%2Frelease%2F1.5.19;hp=a91d8d96910d3c49e1afe7cb4400ab4645823360;hpb=04f01c7e890bd4f1b358378e5911fb7c117c3802;p=lilypond.git diff --git a/lily/include/text-spanner.hh b/lily/include/text-spanner.hh index a91d8d9691..7f1486b143 100644 --- a/lily/include/text-spanner.hh +++ b/lily/include/text-spanner.hh @@ -1,36 +1,22 @@ /* - textspanner.hh -- part of GNU LilyPond + text-spanner.hh -- declare Text_spanner - (c) 1996,97 Han-Wen Nienhuys -*/ + source file of the GNU LilyPond music typesetter -#ifndef TEXTSPANNER_HH -#define TEXTSPANNER_HH + (c) 2000--2001 Jan Nieuwenhuizen +*/ -#include "string.hh" -#include "directional-spanner.hh" -#include "text-def.hh" -/** a spanner which puts texts on top of other spanners. Use for - triplets, eentweetjes, ottava, etc. */ -class Text_spanner : public Spanner { -public: - Directional_spanner * support; - Text_def spec; - Offset text_off_; - NAME_MEMBERS(Text_spanner); +#ifndef TEXT_SPANNER_HH +#define TEXT_SPANNER_HH - void set_support(Directional_spanner*); - Text_spanner(); -protected: - SPANNER_CLONE(Text_spanner) +#include "lily-guile.hh" - virtual void do_substitute_dependency(Score_elem*,Score_elem*); - virtual void do_pre_processing(); - virtual void do_post_processing(); - virtual Interval height() const ; - virtual Molecule* brew_molecule_p()const; - virtual void do_print() const; +class Text_spanner +{ +public: + DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM)); + static bool has_interface (Grob*); }; -#endif // TEXTSPANNER_HH +#endif /* TEXT_SPANNER_HH */