summaryrefslogtreecommitdiff
path: root/hdr/lookup.hh
blob: 6bf89c0093a68331c5a881755ca6fd9c710898e7 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
  lilypond, (c) 1996 Han-Wen Nienhuys
*/
#ifndef LOOKUPSYMS_HH
#define LOOKUPSYMS_HH

#include "symbol.hh"

struct Lookup {
    Symtables *symtables_;
    
    /****************/

    void parse (Text_db&t);
    Parametric_symbol *linestaff(int n);
    Parametric_symbol *meter(String);
    Parametric_symbol *stem();

    Symbol beam_element(int,int,Real=0);
    /// round slope to closest TeXslope
    Symbol beam(Real&,Real);
    Symbol streepjes(int pos);
    /**
      pos == 3 : 3 lines above staff (extending below note)

      pos == -3: below staff
      */

    Symbol rule_symbol(Real height, Real width);

    Symbol ball(int);
    Symbol flag(int);
    Symbol rest(int);
    Symbol bar(String);
    Symbol dots(int);
    Lookup();
    ~Lookup();
};

#endif