#include "text-def.hh"
/** a spanner which puts texts on top of other spanners. Use for
- triplets, eentweetjes, ottava, etc. */
+ triplets, volta, ottava, etc. */
class Text_spanner : public Spanner {
public:
- Directional_spanner * support_span_l_;
- General_script_def * spec_p_;
- Offset text_off_;
- DECLARE_MY_RUNTIME_TYPEINFO;
+ Directional_spanner * support_span_l_;
+ General_script_def * spec_p_;
+ Offset text_off_;
+ DECLARE_MY_RUNTIME_TYPEINFO;
- void set_support (Directional_spanner*);
- Text_spanner();
- Text_spanner (Text_spanner const&);
+ void set_support (Directional_spanner*);
+ Text_spanner();
+ Text_spanner (Text_spanner const&);
protected:
- SCORE_ELEM_CLONE(Text_spanner);
- ~Text_spanner();
- virtual void do_substitute_dependency (Score_elem*,Score_elem*);
- virtual void do_pre_processing();
- virtual void do_post_processing();
- virtual Interval height() const ;
- virtual Molecule* brew_molecule_p() const;
- virtual void do_print() const;
+ SCORE_ELEM_CLONE(Text_spanner);
+ ~Text_spanner();
+ virtual void do_add_processing ();
+ virtual void do_substitute_dependency (Score_elem*,Score_elem*);
+ virtual void do_pre_processing();
+ virtual void do_post_processing();
+ virtual Interval height() const ;
+ virtual Molecule* brew_molecule_p() const;
+ virtual void do_print() const;
};
#endif // TEXTSPANNER_HH