]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/text-item.hh
release: 1.3.29
[lilypond.git] / lily / include / text-item.hh
index 85ff171d6d08b1587548fe664cbca796c3bbb232..f6aaa02928310b469ca24ae66b4e9712d0678b06 100644 (file)
@@ -1,38 +1,27 @@
-/*
-  text.hh -- part of LilyPond
-
-  (c) 1996,97 Han-Wen Nienhuys
-*/
+/*   
+  text-item.hh -- declare Text_item
+  
+  source file of the GNU LilyPond music typesetter
+  
+  (c) 1998--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  
+ */
 
-#ifndef TEXT_ITEM_HH
-#define TEXT_ITEM_HH
+#ifndef Text_ITEM_HH
+#define Text_ITEM_HH
 
-#include "text-def.hh"
 #include "item.hh"
-#include "staff-side.hh"
 
 /**
-  print a fixed width text above or below the staff.
+   Print a text in specified style.
  */
-class Text_item : public Item ,public Staff_side{
-    void init(Text_def* tdef_l); 
-    Text_def* tdef_p_;
-
+class Text_item : public Item
+{
 public:
-    Text_def * tdef_l();
-    int pos_i_;
-        
-    /* ***************/
-
-    NAME_MEMBERS(Text_item);
-    virtual void set_default_index();
-    Molecule* brew_molecule_p() const;
-    void do_pre_processing();
-    Text_item(Text_def*);
-    Text_item(Text_req*);
-    ~Text_item();
+  VIRTUAL_COPY_CONS (Score_element);
+protected:
+  virtual Molecule do_brew_molecule () const;
 };
 
-
-#endif // TEXT_HH
+#endif /* Text_ITEM_HH */