lilypond-1.1.63
[lilypond.git] / hdr / textspanner.hh
blobdbdea979ad25a1e277bd12643983806adb9472a2
1 /*
2 textspanner.hh -- part of LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
5 */
7 #ifndef TEXTSPANNER_HH
8 #define TEXTSPANNER_HH
10 #include "string.hh"
11 #include "directional-spanner.hh"
12 #include "text-def.hh"
14 /** a spanner which puts texts on top of other spanners. Use for
15 triplets, eentweetjes, ottava, etc. */
16 struct Text_spanner : Spanner {
17 Text_def spec;
18 Offset text_off_;
19 Directional_spanner*support;
21 /* *************** */
23 NAME_MEMBERS(Text_spanner);
24 virtual void do_pre_processing();
25 virtual void do_post_processing();
26 virtual Interval height() const ;
27 virtual Molecule* brew_molecule_p()const;
28 virtual void do_print() const;
29 virtual Spanner* do_break_at(PCol*,PCol*)const;
30 Text_spanner();
31 void set_support(Directional_spanner*);
33 #endif // TEXTSPANNER_HH