]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/text-spanner.hh
release: 1.1.35
[lilypond.git] / lily / include / text-spanner.hh
1 /*
2   textspanner.hh -- part of GNU LilyPond
3
4   (c) 1996--1999 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, volta, ottava, etc.
16
17   (does anyone use  this? Junkme?)
18 */
19 class Text_spanner : public Spanner {
20 public:
21   Directional_spanner * support_span_l_;
22   General_script_def * spec_p_;
23   Offset text_off_;
24   
25
26   void set_support (Directional_spanner*);
27   Text_spanner();
28   Text_spanner (Text_spanner const&);
29 protected:
30   VIRTUAL_COPY_CONS(Score_element);
31   ~Text_spanner();
32   virtual void do_add_processing ();
33   virtual void do_substitute_element_pointer (Score_element*,Score_element*);
34   virtual void do_pre_processing();
35   virtual void do_post_processing();
36   virtual Interval height() const ;
37   virtual Molecule* do_brew_molecule_p() const;
38   virtual void do_print() const;
39 };
40 #endif // TEXTSPANNER_HH
41