lilypond-1.2.0
[lilypond.git] / hdr / lookup.hh
blob524cdf1958da47f06dbb23410a56e97012095af8
1 /*
2 lilypond, (c) 1996,97 Han-Wen Nienhuys
3 */
4 #ifndef LOOKUPSYMS_HH
5 #define LOOKUPSYMS_HH
7 #include "symbol.hh"
8 #include "fproto.hh"
9 #include "scalar.hh"
11 /// intuitive interface to symbol table
12 struct Lookup {
13 Symtables *symtables_;
14 String texsetting;
15 /* *************** */
16 void add(String, Symtable*);
17 void print()const;
18 Real internote();
20 Symbol linestaff(int n, Real w);
21 Symbol fill(Box b);
22 Symbol beam_element(int,int,Real=0);
24 /// round slope to closest TeXslope
25 Symbol beam(Real&,Real);
27 /**
28 pos == 3 : 3 lines above staff (extending below note)
30 pos == -3: below staff
32 Symbol streepjes(int pos);
34 Symbol meter(Array<Scalar>);
35 Symbol stem(Real y1_pos, Real y2_pos);
36 Symbol rule_symbol(Real height, Real width);
37 Symbol accidental(int);
38 Symbol ball(int);
39 Symbol flag(int);
40 Symbol rest(int);
41 Symbol clef(String);
42 Symbol bar(String);
43 Symbol dots(int);
44 Symbol slur(int dy, Real &dx, int dir);
45 Symbol half_slur(int dy, Real &dx, int dir, int xpart);
46 Symbol half_slur_middlepart(Real &dx, int dir);
47 Symbol big_slur(int dy, Real &dx, int dir);
48 Symbol text(String style, String text, int align = 1);
49 Symbol script(String idx);
50 Symbol hairpin(Real & width, bool decresc);
52 Lookup();
53 Lookup(Lookup const &);
54 ~Lookup();
57 #endif