]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/text-item.hh
trem fix
[lilypond.git] / lily / include / text-item.hh
index 8b137891791fe96927ad78e64b0aad7bded08bdc..e8479e9d748003c28d779a7825891275d8333add 100644 (file)
@@ -1 +1,34 @@
+/*   
+  text-item.hh -- declare Text_item
 
+  source file of the GNU LilyPond music typesetter
+  
+  (c) 1998--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  Jan Nieuwenhuizen <janneke@gnu.org>
+ */
+
+#ifndef TEXT_ITEM
+#define TEXT_ITEM
+
+
+#include "lily-proto.hh"
+#include "lily-guile.hh"
+#include "molecule.hh"
+
+class Text_item
+{
+public:
+  DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM));
+  static Molecule text2molecule (Grob *me, SCM text, SCM properties);
+  static Molecule string2molecule (Grob *me, SCM text, SCM properties);
+  static Molecule markup_text2molecule (Grob *me, SCM markup_text, SCM properties);
+
+  static bool has_interface (Grob*);
+
+
+private:
+  static Molecule lookup_character (Grob *me, Font_metric*, SCM char_name);
+  static Molecule lookup_text (Grob *me, Font_metric*, SCM text);
+};
+
+#endif /* TEXT_ITEM */