X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fscript.hh;h=4417e9f2335eef4e18c779c3a84409c7e77c0646;hb=402045837e7134cdf90d1fcf31768c62227a4936;hp=4d7bc39cfd0e30b9d85a7fa08631ebe4b80fb715;hpb=c21d49df60cb97801ab33ab8a1bad6f2c81cd820;p=lilypond.git diff --git a/lily/include/script.hh b/lily/include/script.hh index 4d7bc39cfd..4417e9f233 100644 --- a/lily/include/script.hh +++ b/lily/include/script.hh @@ -3,36 +3,34 @@ source file of the GNU LilyPond music typesetter - (c) 1999--2000 Han-Wen Nienhuys + (c) 1999--2004 Han-Wen Nienhuys */ #ifndef SCRIPT_HH #define SCRIPT_HH -#include "item.hh" -#include "drul-array.hh" +#include "lily-guile.hh" +#include "lily-proto.hh" /** Articulation marks (and the like) that are attached to notes/stems. Needs support from Staff_side for proper operation. Staff_side handles the positioning. */ -class Script : public Item +class Script_interface { - Molecule get_molecule (Direction d) const; public: - Script (SCM); - static SCM brew_molecule (SCM); + static Stencil get_stencil (Grob*,Direction d); - - - SCM member_before_line_breaking (); - static SCM before_line_breaking (SCM); - SCM member_after_line_breaking (); - static SCM after_line_breaking (SCM); - SCM member_brew_molecule () const; + static bool has_interface (Grob*); + DECLARE_SCHEME_CALLBACK (print, (SCM )); + DECLARE_SCHEME_CALLBACK (before_line_breaking, (SCM )); }; +void make_script_from_event (Grob *p, + SCM * descr, Translator_group*tg, + SCM type, + int index); #endif /* Stem_SCRIPT_HH */