]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/text-item.hh
release: 0.0.50
[lilypond.git] / lily / include / text-item.hh
index ba81fce47497de81ae4b8acd3cce6445f587c016..85ff171d6d08b1587548fe664cbca796c3bbb232 100644 (file)
@@ -9,18 +9,18 @@
 
 #include "text-def.hh"
 #include "item.hh"
+#include "staff-side.hh"
 
 /**
   print a fixed width text above or below the staff.
  */
-class Text_item : public Item {
-    void init(Text_def* tdef_l,int staffsize_i); 
+class Text_item : public Item ,public Staff_side{
+    void init(Text_def* tdef_l); 
     Text_def* tdef_p_;
+
 public:
     Text_def * tdef_l();
     int pos_i_;
-    int staffsize_i_;
-    int dir_i_;
         
     /* ***************/
 
@@ -28,8 +28,8 @@ public:
     virtual void set_default_index();
     Molecule* brew_molecule_p() const;
     void do_pre_processing();
-    Text_item(Text_def*,int);
-    Text_item(Text_req*,int);
+    Text_item(Text_def*);
+    Text_item(Text_req*);
     ~Text_item();
 };