X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ftext-spanner.hh;h=97b43e4187745fec5b3b899b37ee09a553895ec9;hb=d9b43b93f2c885409bafdb157138158f65cc49aa;hp=b7695a56e813ab0ef03a5e91e70e6f4c554fc8db;hpb=8aad615ea7bb31f49a0c2afc21eea5ff5de20437;p=lilypond.git diff --git a/lily/include/text-spanner.hh b/lily/include/text-spanner.hh index b7695a56e8..97b43e4187 100644 --- a/lily/include/text-spanner.hh +++ b/lily/include/text-spanner.hh @@ -1,38 +1,22 @@ /* - textspanner.hh -- part of GNU LilyPond + text-spanner.hh -- declare Text_spanner - (c) 1996--1999 Han-Wen Nienhuys + source file of the GNU LilyPond music typesetter + + (c) 2000--2002 Jan Nieuwenhuizen */ -#ifndef TEXTSPANNER_HH -#define TEXTSPANNER_HH -#include "string.hh" -#include "directional-spanner.hh" -#include "text-def.hh" +#ifndef TEXT_SPANNER_HH +#define TEXT_SPANNER_HH -/** a spanner which puts texts on top of other spanners. Use for - triplets, volta, ottava, etc. */ -class Text_spanner : public Spanner { -public: - Directional_spanner * support_span_l_; - General_script_def * spec_p_; - Offset text_off_; - +#include "lily-guile.hh" - void set_support (Directional_spanner*); - Text_spanner(); - Text_spanner (Text_spanner const&); -protected: - VIRTUAL_COPY_CONS(Score_element); - ~Text_spanner(); - virtual void do_add_processing (); - virtual void do_substitute_dependency (Score_element*,Score_element*); - virtual void do_pre_processing(); - virtual void do_post_processing(); - virtual Interval height() const ; - virtual Molecule* do_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 */