]> git.donarmstrong.com Git - lilypond.git/blob - hdr/textspanner.hh
81c8b87c328e35767d4222843d50b38c9b29b300
[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     virtual    void do_pre_processing();
21     virtual    void do_post_processing();
22     Molecule* brew_molecule_p()const;
23     virtual    Interval height() const ;
24     void print() const;
25     virtual Spanner* do_break_at(PCol*,PCol*)const;
26     Text_spanner(Directional_spanner*);
27 };
28 /**
29   Use for triplets, eentweetjes, ottava, etc.
30   */
31
32 #endif // TEXTSPANNER_HH
33