X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=hdr%2Ftextspanner.hh;h=dbdea979ad25a1e277bd12643983806adb9472a2;hb=31e311c0fb0ede49394d058b6c22f2a130421b9e;hp=1e9d06d54338b3ca5da63a45228050bc0fc7f235;hpb=1ff9a8dbb150839392b2a3a3bf33a90db2db5464;p=lilypond.git diff --git a/hdr/textspanner.hh b/hdr/textspanner.hh index 1e9d06d543..dbdea979ad 100644 --- a/hdr/textspanner.hh +++ b/hdr/textspanner.hh @@ -1,33 +1,34 @@ /* textspanner.hh -- part of LilyPond - (c) 1996 Han-Wen Nienhuys + (c) 1996,97 Han-Wen Nienhuys */ #ifndef TEXTSPANNER_HH #define TEXTSPANNER_HH #include "string.hh" -#include "directionalspanner.hh" -#include "textdef.hh" +#include "directional-spanner.hh" +#include "text-def.hh" -/// a spanner which puts texts on top of other spanners. +/** a spanner which puts texts on top of other spanners. Use for + triplets, eentweetjes, ottava, etc. */ struct Text_spanner : Spanner { Text_def spec; - Offset tpos; + Offset text_off_; Directional_spanner*support; - /****************/ - virtual void do_pre_processing(); - virtual void do_post_processing(); - Molecule* brew_molecule()const; - virtual Interval height() const ; - void print() const; + + /* *************** */ + + NAME_MEMBERS(Text_spanner); + 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; virtual Spanner* do_break_at(PCol*,PCol*)const; - Text_spanner(Directional_spanner*); + Text_spanner(); + void set_support(Directional_spanner*); }; -/** - Use for triplets, eentweetjes, ottava, etc. - */ - #endif // TEXTSPANNER_HH