]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/text-def.hh
0d792590c68f59a8235049d82fa6fc13cb88e9b9
[lilypond.git] / lily / include / text-def.hh
1 /*
2   text-def.hh -- part of GNU LilyPond
3
4   (c) 1996,97 Han-Wen Nienhuys
5 */
6
7 #ifndef TEXT_DEF_HH
8 #define TEXT_DEF_HH
9
10 #include "string.hh"
11 #include "lily-proto.hh"
12 #include "input.hh"
13
14 class Text_def : public Input {
15 public:
16     /**
17       centered , or aligned?
18
19       -1 = raggedright, 0 = center, 1 = raggedleft
20      */
21     int align_i_;
22     Paper_def* pdef_l_;
23     String text_str_;
24     String style_str_;
25     
26     /* *************** */
27     virtual ~Text_def() {};
28     bool compare(const Text_def&);
29     Text_def();
30     virtual void print() const;
31     Atom create_atom() const;
32     Interval width() const;
33 };
34
35 #endif // TEXT_DEF_HH
36