2 key-item.hh -- part of GNU LilyPond
4 (c) 1996--1999 Han-Wen Nienhuys
14 /// An item which places accidentals at the start of the line
15 class Key_item
:public Item
17 Array
<int> pitch_arr_
;
19 Array
<int> old_pitch_arr_
;
20 Array
<int> old_acc_arr_
;
27 int get_c_position () const;
30 VIRTUAL_COPY_CONS(Score_element
);
33 void add (int pitch
, int acc
);
34 void add_old (int pitch
, int acc
);
35 void set_c_position (int);
36 int calculate_position(int p
, int a
) const;
39 virtual Molecule
* do_brew_molecule_p() const;