]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/text-item.hh
release: 0.0.42
[lilypond.git] / lily / include / text-item.hh
1 /*
2   text.hh -- part of 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
13 /**
14   print a fixed width text above or below the staff.
15  */
16 class Text_item : public Item {
17     void init(Text_def* tdef_l,int staffsize_i); 
18     Text_def* tdef_p_;
19 public:
20     Text_def * tdef_l();
21     int pos_i_;
22     int staffsize_i_;
23     int dir_i_;
24         
25     /* ***************/
26
27     NAME_MEMBERS(Text_item);
28     virtual void set_default_index();
29     Molecule* brew_molecule_p() const;
30     void do_pre_processing();
31     Text_item(Text_def*,int);
32     Text_item(Text_req*,int);
33     ~Text_item();
34 };
35
36
37 #endif // TEXT_HH
38