X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fstem-tremolo.hh;h=75946a34ee1fb3d2633ddc6ab8ac74eefb095c1c;hb=38cb4178d57c3d964f5e4187be34d7372b4a646b;hp=8c68e3b8230c4bda9c26a3e0bc3b9f0963ad8898;hpb=5d1ddaf889233f8e5c32a118f9e843e1becca2d2;p=lilypond.git diff --git a/lily/include/stem-tremolo.hh b/lily/include/stem-tremolo.hh index 8c68e3b823..75946a34ee 100644 --- a/lily/include/stem-tremolo.hh +++ b/lily/include/stem-tremolo.hh @@ -1,27 +1,30 @@ -/* +/* stem-tremolo.hh -- declare Abbreviation - + source file of the GNU LilyPond music typesetter - - (c) 1997--2005 Han-Wen Nienhuys - - */ + + (c) 1997--2006 Han-Wen Nienhuys +*/ #ifndef ABBREV_HH #define ABBREV_HH #include "lily-proto.hh" -#include "lily-guile.hh" +#include "grob-interface.hh" class Stem_tremolo { public: - - static bool has_interface (Grob*); - DECLARE_SCHEME_CALLBACK (dim_callback, (SCM smob, SCM axis)); - DECLARE_SCHEME_CALLBACK (print, (SCM )); - DECLARE_SCHEME_CALLBACK (height, (SCM, SCM)); - static Stencil raw_stencil (Grob*); + + DECLARE_GROB_INTERFACE(); + DECLARE_SCHEME_CALLBACK (calc_slope, (SCM)); + DECLARE_SCHEME_CALLBACK (calc_width, (SCM)); + DECLARE_SCHEME_CALLBACK (print, (SCM)); + DECLARE_SCHEME_CALLBACK (height, (SCM)); + DECLARE_SCHEME_CALLBACK (calc_style, (SCM)); + static Stencil raw_stencil (Grob *, Real slope, Direction stemdir); + static Stencil translated_stencil (Grob*, Real slope); + static Real get_beam_translation (Grob *me); }; #endif /* ABBREV_HH */