]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/text-item.hh
release: 0.1.11
[lilypond.git] / lily / include / text-item.hh
1 /*
2   text-item.hh -- part of GNU LilyPond
3
4   (c) 1996,97 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     void init (Text_def* tdef_l); 
19  
20 public:
21
22     /// do I have width?
23     bool fat_b_;
24     
25     /* ***************/
26
27     Text_item (General_script_def*,Direction dir=0);
28     virtual ~Text_item();
29     DECLARE_MY_RUNTIME_TYPEINFO;
30
31 protected:
32     General_script_def * tdef_p_;
33
34     virtual Interval symbol_height() const;
35
36     virtual Molecule* brew_molecule_p() const;
37     virtual void do_pre_processing();
38 };
39
40
41 #endif // TEXT_HH
42