]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/clef-item.hh
release: 0.1.11
[lilypond.git] / lily / include / clef-item.hh
1 /*
2   clef-item.hh -- declare Clef_item
3
4   (c) 1996,97 Han-Wen Nienhuys
5 */
6
7 #ifndef CLEFITEM_HH
8 #define CLEFITEM_HH
9 #include "item.hh"
10
11 /**
12   Set a clef in a staff.
13  */
14 class Clef_item : public Item {
15 protected:
16     virtual void do_pre_processing();
17     Molecule* brew_molecule_p() const;
18 public:
19     
20     String type_;
21     int y_off;
22
23     /// is this a change clef (smaller size)?
24     bool change_b_;
25     
26     /// set because of existence of a bar
27     bool default_b_;
28
29     /* *************** */
30     DECLARE_MY_RUNTIME_TYPEINFO;
31     SCORE_ELEM_CLONE(Clef_item);
32     Clef_item();
33     void read (Clef_engraver const&);
34     void read (String);
35 };
36
37 #endif // CLEFITEM_HH
38
39