X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fkey-item.hh;h=f8e3747b58cba51b4ae719f56dd7751e6980a426;hb=30270f615f32a6b93e7b09bf55d1b8a7d7aad7ca;hp=9056db33b8761c2e813d93daba8c79145dd0b1e9;hpb=9f88b957750d767f2230004a4bf2d4eccca7decf;p=lilypond.git diff --git a/lily/include/key-item.hh b/lily/include/key-item.hh index 9056db33b8..f8e3747b58 100644 --- a/lily/include/key-item.hh +++ b/lily/include/key-item.hh @@ -13,11 +13,14 @@ /// An item which places accidentals at the start of the line struct Key_item : Item { - Array pitch; - Array acc; - Array old_pitch; - Array old_acc; + Array pitch_arr_; + Array acc_arr_; + Array old_pitch_arr_; + Array old_acc_arr_; + + // ugh. Naming int c_position; + // see above. int c0_position; bool default_b_; bool multi_octave_b_; @@ -30,7 +33,10 @@ struct Key_item : Item { void add (const Musical_pitch&); void add_old (int pitch, int acc); void add_old (const Musical_pitch&); - void read (const Key_engraver&); + void set (bool multi_octave_b, + Array const &idx_arr, + Array const &old_idx_arr); + void set_c_position (int); int Key_item::calculate_position(int p, int a) const;