]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/text-spanner.hh
release: 0.0.39-1
[lilypond.git] / lily / include / text-spanner.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 "directional-spanner.hh"
12 #include "text-def.hh"
13
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;
20
21     /* *************** */
22
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*);
32 };
33 #endif // TEXTSPANNER_HH
34