X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ftext-item.hh;h=b66a63b7bba313cfe56eab1521cee1e48a7b9a06;hb=e24df7c27635dc996c466295eacf2981bddccaf7;hp=930af37e107a71aa0be9306b751025c1f9afaa0a;hpb=48f2b9351f93d0161c675cfb60e95bf919041df2;p=lilypond.git diff --git a/lily/include/text-item.hh b/lily/include/text-item.hh index 930af37e10..b66a63b7bb 100644 --- a/lily/include/text-item.hh +++ b/lily/include/text-item.hh @@ -1,27 +1,26 @@ /* - text-item.hh -- declare Text_item - + text-item.hh -- declare markup functions + source file of the GNU LilyPond music typesetter - (c) 1998--1999 Han-Wen Nienhuys - + (c) 1998--2005 Han-Wen Nienhuys + Jan Nieuwenhuizen */ -#ifndef Text_ITEM_HH -#define Text_ITEM_HH +#ifndef TEXT_ITEM +#define TEXT_ITEM -#include "item.hh" -/** - Print a text in specified style. - */ -class Text_item : public Item +#include "stencil.hh" + +class Text_interface { public: - VIRTUAL_COPY_CONS (Score_element); -protected: - virtual Molecule *do_brew_molecule_p () const; + DECLARE_SCHEME_CALLBACK (print, (SCM)); + DECLARE_SCHEME_CALLBACK (interpret_markup, (SCM, SCM, SCM)); + DECLARE_SCHEME_CALLBACK (interpret_string, (SCM, SCM, SCM)); + static bool has_interface (Grob*); + static bool markup_p (SCM) ; }; -#endif /* Text_ITEM_HH */ - +#endif /* TEXT_ITEM */