]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/clef-item.hh
release: 1.1.36
[lilypond.git] / lily / include / clef-item.hh
1 /*
2   clef-item.hh -- declare Clef_item
3
4   (c) 1996--1999 Han-Wen Nienhuys
5 */
6
7 #ifndef CLEFITEM_HH
8 #define CLEFITEM_HH
9 #include "item.hh"
10 #include "text-def.hh"
11 #include "direction.hh"
12 #include "pointer.hh"
13 #include "staff-symbol-referencer.hh"
14 /**
15   Set a clef in a staff.
16
17   properties:
18
19   nondefault: not set because of existence of a bar
20
21   octave_dir: should we print an octave symbol (8), and where? (up=1, down=-1)?
22
23   change: is this a change clef (smaller size)?
24   
25  */
26 class Clef_item : public Item, public Staff_symbol_referencer {
27 protected:
28   virtual void do_pre_processing();
29   virtual Molecule* do_brew_molecule_p() const;
30   virtual void do_add_processing ();
31 public:
32   
33   String symbol_;
34   int y_position_i_;
35
36   VIRTUAL_COPY_CONS(Score_element);
37   Clef_item();
38 };
39
40 #endif // CLEFITEM_HH
41
42