]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/clef-item.hh
release: 1.3.25
[lilypond.git] / lily / include / clef-item.hh
index 162cf813ebaa0b8ba0ae741992d8b0a6eff3f9b4..a5d5585db387eece4452c2cad96a27c41bda9665 100644 (file)
@@ -1,37 +1,35 @@
 /*
   clef-item.hh -- declare Clef_item
 
-  (c) 1996,97 Han-Wen Nienhuys
+  (c) 1996--2000 Han-Wen Nienhuys
 */
 
 #ifndef CLEFITEM_HH
 #define CLEFITEM_HH
 #include "item.hh"
 
+#include "direction.hh"
+
+
 /**
   Set a clef in a staff.
+
+  properties:
+
+  nondefault: not set because of existence of a bar
+
+  octave_dir: should we print an octave symbol (8), and where? (up=1, down=-1)?
+
+  change: is this a change clef (smaller size)?
+  
  */
-class Clef_item : public Item {
+class Clef_item : public Item
+{
 protected:
-    virtual void do_pre_processing();
-    Molecule* brew_molecule_p()const;
+  virtual void do_pre_processing();
+  virtual void do_add_processing ();
 public:
-    
-    String type_;
-    int y_off;
-
-    /// is this a change clef (smaller size)?
-    bool change_b_;
-    
-    /// set because of existence of a bar
-    bool default_b_;
-
-    /* *************** */
-    NAME_MEMBERS();
-    SCORE_ELEM_CLONE(Clef_item);
-    Clef_item();
-    void read(Clef_engraver const&);
-    void read(String);
+  VIRTUAL_COPY_CONS(Score_element);
 };
 
 #endif // CLEFITEM_HH