-/*
+/*
font-interface.hh -- declare Font_interface
-
+
source file of the GNU LilyPond music typesetter
-
- (c) 2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-
- */
+
+ (c) 2000--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
+*/
#ifndef FONT_INTERFACE_HH
#define FONT_INTERFACE_HH
-#include "lily-proto.hh"
#include "font-metric.hh"
+#include "grob-interface.hh"
struct Font_interface
{
- static SCM font_alist_chain (Score_element*);
- static Font_metric * get_font (Score_element*, SCM alist_chain);
- static Font_metric * get_default_font (Score_element*);
- static SCM add_style (Score_element*, SCM style, SCM alist_chain);
- DECLARE_SCHEME_CALLBACK(properties_to_font_name, (SCM,SCM));
+ static SCM text_font_alist_chain (Grob *);
+ static SCM music_font_alist_chain (Grob *);
+ static Font_metric *get_default_font (Grob *);
+ DECLARE_GROB_INTERFACE();
};
#endif /* FONT_INTERFACE_HH */