2 textspanner.hh -- part of GNU LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
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 class Text_spanner : public Spanner {
18 Directional_spanner * support_span_l_;
19 General_script_def * spec_p_;
21 DECLARE_MY_RUNTIME_TYPEINFO;
23 void set_support (Directional_spanner*);
25 Text_spanner (Text_spanner const&);
27 SCORE_ELEM_CLONE(Text_spanner);
29 virtual void do_substitute_dependency (Score_elem*,Score_elem*);
30 virtual void do_pre_processing();
31 virtual void do_post_processing();
32 virtual Interval height() const ;
33 virtual Molecule* brew_molecule_p() const;
34 virtual void do_print() const;
36 #endif // TEXTSPANNER_HH