X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ftext-item.hh;h=ba7ae59db60e656b8ffab3f0761268909f19bb91;hb=cec6dfa6bf0fb931eb7f42b1ee44ca2ec19a9f34;hp=13d47e45faf54c21e686e84839d6dee621369f41;hpb=7c9b553acad88d5cd62461989f0f20652dc04dda;p=lilypond.git diff --git a/lily/include/text-item.hh b/lily/include/text-item.hh index 13d47e45fa..ba7ae59db6 100644 --- a/lily/include/text-item.hh +++ b/lily/include/text-item.hh @@ -1,5 +1,5 @@ /* - text-item.hh -- part of LilyPond + text-item.hh -- part of GNU LilyPond (c) 1996,97 Han-Wen Nienhuys */ @@ -15,28 +15,25 @@ print a fixed width text above or below the staff. */ class Text_item : public Item ,public Staff_side{ - void init(Text_def* tdef_l); + void init (Text_def* tdef_l); public: - Text_def * tdef_l(); - Text_def const* tdef_c_l(); - int pos_i_; /// do I have width? bool fat_b_; /* ***************/ - Text_item(Text_def*,int dir=0); + Text_item (General_script_def*,Direction dir=0); virtual ~Text_item(); - NAME_MEMBERS(Text_item); + DECLARE_MY_RUNTIME_TYPEINFO; protected: - Text_def* tdef_p_; + General_script_def * tdef_p_; + + virtual Interval symbol_height() const; - virtual void set_default_index(); virtual Molecule* brew_molecule_p() const; - virtual void do_post_processing(); virtual void do_pre_processing(); };