]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/text-item.hh
release: 0.0.40
[lilypond.git] / lily / include / text-item.hh
index ae0b55630800943c1f638d8cf14e1b7f066acd5e..d5ff7405e16d5a642ecf7ec52b98e5e0bdd32c7e 100644 (file)
@@ -9,19 +9,26 @@
 
 #include "text-def.hh"
 #include "item.hh"
-  
-struct Text_item : Item {
+
+/**
+  print a fixed width text above or below the staff.
+ */
+class Text_item : public Item {
+    void init(Text_def* tdef_l,int staffsize_i); 
+    Text_def* tdef_p_;
+public:
+    Text_def * tdef_l();
     int pos_i_;
     int staffsize_i_;
     int dir_i_;
-    Text_def* tdef_l_;
-    
+        
     /* ***************/
+
     NAME_MEMBERS(Text_item);
     virtual void set_default_index();
     Molecule* brew_molecule_p() const;
     void do_pre_processing();
-    
+    Text_item(Text_def*,int);
     Text_item(Text_req*,int);
 };