]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/lookup.hh
release: 1.1.25
[lilypond.git] / lily / include / lookup.hh
1 /*
2   lookup.hh -- declare Lookup
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   Jan Nieuwenhuizen <janneke@gnu.org>
8 */
9
10 #ifndef LOOKUP_HH
11 #define LOOKUP_HH
12
13 #include "atom.hh"
14 #include "molecule.hh"
15 #include "fproto.hh"
16 #include "scalar.hh"
17 #include "direction.hh"
18 #include "box.hh"
19
20 /** handy interface to symbol table
21  */
22 class Lookup
23 {
24 public:
25   Lookup ();
26   Lookup (Lookup const&);
27
28
29   
30   Atom special_ball (int, String) const;
31   Atom simple_bar (String s, Real w) const;
32   Molecule accidental (int, bool cautionary) const;
33   Atom afm_find (String, bool warn=true) const;
34   Atom ball (int) const;
35   Molecule bar (String, Real height) const;
36   Atom beam (Real, Real, Real) const;
37   Atom clef (String) const;
38   Atom dashed_slur (Array<Offset> controls, Real thick, Real dash) const;
39   Atom dots () const;
40   Atom extender (Real) const;
41   Atom fill (Box b) const;
42   Atom flag (int, Direction) const;
43   Atom hairpin (Real width, bool decresc, bool continued) const;
44   Atom plet (Real dy, Real dx, Direction dir) const;
45   Atom rest (int, bool outside) const;
46   Atom rule_symbol (Real height, Real width) const;
47   Atom script (String idx) const;
48   Atom stem (Real y1_pos, Real y2_pos) const;
49   Atom slur (Array<Offset> controls) const;
50   Atom streepje (int type) const;
51   Atom text (String style, String text) const;
52   Atom vbrace (Real &dy) const;
53   Atom vbracket (Real &dy) const;
54   Atom volta (Real w, bool last_b) const;
55   Atom special_time_signature (String, Array<int>) const;
56   Atom time_signature (Array<int>) const;
57
58   Paper_def * paper_l_;
59
60   String font_name_;
61   Adobe_font_metric * afm_l_;
62 };
63
64 #endif // LOOKUP_HH