2 accidental-interface.hh -- declare Accidental_interface
4 source file of the GNU LilyPond music typesetter
6 (c) 2002--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #ifndef ACCIDENTAL_INTERFACE_HH
10 #define ACCIDENTAL_INTERFACE_HH
12 #include "std-vector.hh"
15 #include "lily-proto.hh"
16 #include "grob-interface.hh"
18 class Accidental_interface
21 DECLARE_SCHEME_CALLBACK (print, (SCM));
22 DECLARE_SCHEME_CALLBACK (height, (SCM));
23 DECLARE_SCHEME_CALLBACK (width, (SCM));
24 DECLARE_SCHEME_CALLBACK (pure_height, (SCM, SCM, SCM));
26 DECLARE_GROB_INTERFACE();
27 static string get_fontcharname (string style, int alteration);
28 static vector<Box> accurate_boxes (Grob *me, Grob **common);
29 static SCM get_stencil (Grob *me);