]> git.donarmstrong.com Git - lilypond.git/blob - hdr/textspanner.hh
release: 0.0.26
[lilypond.git] / hdr / textspanner.hh
1 /*
2   textspanner.hh -- part of LilyPond
3
4   (c) 1996,97 Han-Wen Nienhuys
5 */
6
7 #ifndef TEXTSPANNER_HH
8 #define TEXTSPANNER_HH
9
10 #include "string.hh"
11 #include "directionalspanner.hh"
12 #include "textdef.hh"
13
14 /// a spanner which puts texts on top of other spanners.
15 struct Text_spanner : Spanner {
16     Text_def spec;
17     Offset tpos;
18     Directional_spanner*support;
19
20     /****************/
21
22     const char * name() const;
23     virtual    void do_pre_processing();
24     virtual    void do_post_processing();
25     Molecule* brew_molecule_p()const;
26     virtual    Interval height() const ;
27     void do_print() const;
28     virtual Spanner* do_break_at(PCol*,PCol*)const;
29     Text_spanner();
30     void set_support(Directional_spanner*);
31 };
32 /**
33   Use for triplets, eentweetjes, ottava, etc.
34   */
35
36 #endif // TEXTSPANNER_HH
37