[editorKeysounds] New menu to test.

This commit is contained in:
Jason Felds
2012-02-10 13:41:40 -05:00
parent 7e3516f403
commit 0b3737cfc4
2 changed files with 9 additions and 1 deletions
+8 -1
View File
@@ -605,7 +605,9 @@ static MenuDef g_AreaMenu(
MenuRowDef(ScreenEdit::last_second_at_beat, "Designate last second at current beat", true, EditMode_Full, true, true, 0, NULL ), MenuRowDef(ScreenEdit::last_second_at_beat, "Designate last second at current beat", true, EditMode_Full, true, true, 0, NULL ),
MenuRowDef( ScreenEdit::undo, "Undo", true, EditMode_Practice, true, true, 0, NULL ), MenuRowDef( ScreenEdit::undo, "Undo", true, EditMode_Practice, true, true, 0, NULL ),
MenuRowDef(ScreenEdit::clear_clipboard, "Clear clipboard", true, MenuRowDef(ScreenEdit::clear_clipboard, "Clear clipboard", true,
EditMode_Practice, true, true, 0, NULL ) EditMode_Practice, true, true, 0, NULL ),
MenuRowDef(ScreenEdit::modify_keysounds_at_row, "Modify Keysounds at current beat",
true, EditMode_Full, true, true, 0, NULL)
); );
@@ -4463,6 +4465,11 @@ void ScreenEdit::HandleAreaMenuChoice( AreaMenuChoice c, const vector<int> &iAns
m_Clipboard.ClearAll(); m_Clipboard.ClearAll();
break; break;
} }
case modify_keysounds_at_row:
{
// Nothing yet.
break;
}
}; };
if( bSaveUndo ) if( bSaveUndo )
+1
View File
@@ -435,6 +435,7 @@ public:
last_second_at_beat, last_second_at_beat,
undo, undo,
clear_clipboard, /**< Clear the clipboards. */ clear_clipboard, /**< Clear the clipboards. */
modify_keysounds_at_row, /**< Modify the keysounds at this row. */
NUM_AREA_MENU_CHOICES NUM_AREA_MENU_CHOICES
}; };
void HandleAlterMenuChoice(AlterMenuChoice c, void HandleAlterMenuChoice(AlterMenuChoice c,