]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/lookup.hh
release: 1.3.131
[lilypond.git] / lily / include / lookup.hh
index 2a227470fed0d3ed23510f278459e844e8983b8f..4a3dea7e0f9f343cb18e8e1f6d8769e82255b6de 100644 (file)
@@ -3,47 +3,28 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #ifndef LOOKUP_HH
 #define LOOKUP_HH
 
-#include "lily-guile.hh"
+#include "string.hh"
 #include "molecule.hh"
 #include "flower-proto.hh"
 #include "direction.hh"
 #include "box.hh"
 
-/**
-   handy interface to symbol table
-   TODO: move this into GUILE?
- */
-class Lookup
+struct Lookup
 {
-public:
-  String font_name_;
-  Adobe_font_metric * afm_l_;
-
-
-  Lookup ();
-  Lookup (Lookup const&);
-
-  Molecule simple_bar (String s, Real w, Paper_def*) const;
-  Molecule afm_find (String, bool warn=true) const;
-  Molecule bar (String, Real height, Paper_def*) const;
-  Molecule accordion (SCM arg, Real interline_f) const;
-
+  static Molecule accordion (SCM arg, Real interline_f, Font_metric*fm);
   static Molecule frame (Box b, Real thick);
   static Molecule slur (Bezier controls, Real cthick, Real thick) ;
   static Molecule beam (Real, Real, Real) ;
   static Molecule dashed_slur (Bezier, Real thick, Real dash) ;
-  static Molecule fill (Box b) ;
+  static Molecule blank (Box b) ;
   static Molecule filledbox (Box b) ;  
-  static Molecule text (String style, String text, Paper_def*) ;
-  static Molecule staff_brace (Real dy, int) ;
-  static Molecule staff_bracket (Real height, Paper_def* paper_l) ;
 };
 
 #endif // LOOKUP_HH