From: fred Date: Sun, 24 Mar 2002 19:38:19 +0000 (+0000) Subject: lilypond-0.0.49 X-Git-Tag: release/1.5.59~5014 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f3c328a6a681c47d6608c0a7d97a96aacbed8635;p=lilypond.git lilypond-0.0.49 --- diff --git a/lily/include/command-request.hh b/lily/include/command-request.hh index 87139bd427..3c257b67f1 100644 --- a/lily/include/command-request.hh +++ b/lily/include/command-request.hh @@ -123,12 +123,16 @@ class Key_change_req : public Command_req { public: Array melodic_p_arr_; bool minor_b_; - + + /// don't ignore the octaves in #melodic_p_arr_#? + bool multi_octave_b_; Key_change_req(); Key_change_req(Key_change_req const&); ~Key_change_req(); REQUESTMETHODS(Key_change_req, keychange); + /// squash the octaves to 1 + void squash_octaves(); /// return number of flats in key int flats_i(); diff --git a/lily/include/local-key-item.hh b/lily/include/local-key-item.hh index 96bad9999e..dd4ae4b736 100644 --- a/lily/include/local-key-item.hh +++ b/lily/include/local-key-item.hh @@ -14,8 +14,11 @@ struct Local_acc { static int compare(Local_acc&, Local_acc&); }; +/** + Accidentals which can be different for each octave. + */ struct Local_key_item : Item { -NAME_MEMBERS(Local_key_item); + NAME_MEMBERS(Local_key_item); Array accs; Array support_items_; int c0_position; diff --git a/lily/include/local-key-reg.hh b/lily/include/local-key-reg.hh index 628ccc7c42..2ab094b3b3 100644 --- a/lily/include/local-key-reg.hh +++ b/lily/include/local-key-reg.hh @@ -11,7 +11,7 @@ #include "key.hh" struct Local_key_register : Request_register { - Local_key local_key_; + Key local_key_; Local_key_item* key_item_p_; Key const *key_C_; /* *************** */