]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/text-item.hh
partial: 1.1.24.jcn
[lilypond.git] / lily / include / text-item.hh
1 /*
2   text-item.hh -- part of GNU LilyPond
3
4   (c) 1996--1998 Han-Wen Nienhuys
5 */
6
7 #ifndef TEXT_ITEM_HH
8 #define TEXT_ITEM_HH
9
10 #include "text-def.hh"
11 #include "item.hh"
12 #include "staff-side.hh"
13
14 /**
15   print a fixed width text above or below the staff.
16  */
17 class Text_item : public Item ,public Staff_side
18 {
19 public:
20     /// do I have width?
21     bool fat_b_;
22
23   Text_item (General_script_def* ,Direction dir=CENTER);
24     General_script_def* tdef_p_;
25
26 protected:
27     virtual ~Text_item ();
28     virtual Interval symbol_height () const;
29     virtual Molecule* do_brew_molecule_p () const;
30     virtual void do_pre_processing ();
31     virtual Real get_position_f () const;
32 };
33
34
35 #endif // TEXT_HH
36