diff --git a/src/gui/doAction.cpp b/src/gui/doAction.cpp index 0d43a2eea..f2b3092ba 100644 --- a/src/gui/doAction.cpp +++ b/src/gui/doAction.cpp @@ -725,6 +725,7 @@ void FurnaceGUI::doAction(int what) { case GUI_ACTION_INS_LIST_DIR_VIEW: insListDir=!insListDir; break; + case GUI_ACTION_WAVE_LIST_ADD: { waveSizeList.clear(); @@ -945,6 +946,8 @@ void FurnaceGUI::doAction(int what) { case GUI_ACTION_SAMPLE_LIST_DIR_VIEW: sampleListDir=!sampleListDir; break; + case GUI_ACTION_SAMPLE_LIST_MAKE_MAP: + break; case GUI_ACTION_SAMPLE_SELECT: if (curSample<0 || curSample>=(int)e->song.sample.size()) break; diff --git a/src/gui/gui.h b/src/gui/gui.h index 22c6a26bc..f24cb68ff 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -760,6 +760,7 @@ enum FurnaceGUIActions { GUI_ACTION_SAMPLE_LIST_PREVIEW, GUI_ACTION_SAMPLE_LIST_STOP_PREVIEW, GUI_ACTION_SAMPLE_LIST_DIR_VIEW, + GUI_ACTION_SAMPLE_LIST_MAKE_MAP, GUI_ACTION_SAMPLE_LIST_MAX, GUI_ACTION_SAMPLE_MIN, diff --git a/src/gui/guiConst.cpp b/src/gui/guiConst.cpp index ff92b38f7..2629c7b49 100644 --- a/src/gui/guiConst.cpp +++ b/src/gui/guiConst.cpp @@ -730,6 +730,7 @@ const FurnaceGUIActionDef guiActions[GUI_ACTION_MAX]={ D("SAMPLE_LIST_PREVIEW", "Preview", 0), D("SAMPLE_LIST_STOP_PREVIEW", "Stop preview", 0), D("SAMPLE_LIST_DIR_VIEW", "Toggle folders/standard view", FURKMOD_CMD|SDLK_v), + D("SAMPLE_LIST_MAKE_MAP", "Make me a drum kit", 0), D("SAMPLE_LIST_MAX", "", NOT_AN_ACTION), D("SAMPLE_MIN", "---Sample editor", NOT_AN_ACTION), diff --git a/src/gui/settings.cpp b/src/gui/settings.cpp index 584ce17ad..f9c15b987 100644 --- a/src/gui/settings.cpp +++ b/src/gui/settings.cpp @@ -1966,6 +1966,7 @@ void FurnaceGUI::drawSettings() { UI_KEYBIND_CONFIG(GUI_ACTION_SAMPLE_LIST_PREVIEW); UI_KEYBIND_CONFIG(GUI_ACTION_SAMPLE_LIST_STOP_PREVIEW); UI_KEYBIND_CONFIG(GUI_ACTION_SAMPLE_LIST_DIR_VIEW); + UI_KEYBIND_CONFIG(GUI_ACTION_SAMPLE_LIST_MAKE_MAP); KEYBIND_CONFIG_END; ImGui::TreePop();