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