-
/*
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.
-struct Clef_item : Item {
- String type;
- int y_off;
+ properties:
- /// is this a change clef (smaller size)?
- bool change;
+ nondefault: not set because of existence of a bar
+ octave_dir: should we print an octave symbol (8), and where? (up=1, down=-1)?
- /* *************** */
-NAME_MEMBERS(Clef_item);
- Clef_item();
- void read(Clef_register const&);
- void read(String);
- Molecule* brew_molecule_p()const;
+ change: is this a change clef (smaller size)?
+
+ */
+class Clef_item : public Item
+{
+protected:
+ virtual void do_pre_processing();
+ virtual void do_add_processing ();
+public:
+ VIRTUAL_COPY_CONS(Score_element);
};
#endif // CLEFITEM_HH