dummy export window, keybind and related settings
This commit is contained in:
parent
8aabaf0e01
commit
df63257d11
7 changed files with 233 additions and 170 deletions
|
|
@ -1659,6 +1659,7 @@ void FurnaceGUI::drawSettings() {
|
|||
UI_KEYBIND_CONFIG(GUI_ACTION_OPEN_BACKUP);
|
||||
UI_KEYBIND_CONFIG(GUI_ACTION_SAVE);
|
||||
UI_KEYBIND_CONFIG(GUI_ACTION_SAVE_AS);
|
||||
UI_KEYBIND_CONFIG(GUI_ACTION_EXPORT);
|
||||
UI_KEYBIND_CONFIG(GUI_ACTION_UNDO);
|
||||
UI_KEYBIND_CONFIG(GUI_ACTION_REDO);
|
||||
UI_KEYBIND_CONFIG(GUI_ACTION_PLAY_TOGGLE);
|
||||
|
|
@ -2652,6 +2653,12 @@ void FurnaceGUI::drawSettings() {
|
|||
settingsChanged=true;
|
||||
}
|
||||
|
||||
bool classicExportOptionsB=settings.classicExportOptions;
|
||||
if (ImGui::Checkbox("Display separate export options in File menu",&classicExportOptionsB)) {
|
||||
settings.classicExportOptions=classicExportOptionsB;
|
||||
settingsChanged=true;
|
||||
}
|
||||
|
||||
// SUBSECTION ORDERS
|
||||
CONFIG_SUBSECTION("Orders");
|
||||
// sorry. temporarily disabled until ImGui has a way to add separators in tables arbitrarily.
|
||||
|
|
@ -3787,6 +3794,7 @@ void FurnaceGUI::syncSettings() {
|
|||
settings.centerPopup=e->getConfInt("centerPopup",1);
|
||||
settings.insIconsStyle=e->getConfInt("insIconsStyle",1);
|
||||
settings.classicChipOptions=e->getConfInt("classicChipOptions",0);
|
||||
settings.classicExportOptions=e->getConfInt("classicExportOptions",0);
|
||||
settings.wasapiEx=e->getConfInt("wasapiEx",0);
|
||||
settings.chanOscThreads=e->getConfInt("chanOscThreads",0);
|
||||
settings.renderPoolThreads=e->getConfInt("renderPoolThreads",0);
|
||||
|
|
@ -3953,6 +3961,7 @@ void FurnaceGUI::syncSettings() {
|
|||
clampSetting(settings.centerPopup,0,1);
|
||||
clampSetting(settings.insIconsStyle,0,2);
|
||||
clampSetting(settings.classicChipOptions,0,1);
|
||||
clampSetting(settings.classicExportOptions,0,1);
|
||||
clampSetting(settings.wasapiEx,0,1);
|
||||
clampSetting(settings.chanOscThreads,0,256);
|
||||
clampSetting(settings.renderPoolThreads,0,DIV_MAX_CHIPS);
|
||||
|
|
@ -4232,6 +4241,7 @@ void FurnaceGUI::commitSettings() {
|
|||
e->setConf("centerPopup",settings.centerPopup);
|
||||
e->setConf("insIconsStyle",settings.insIconsStyle);
|
||||
e->setConf("classicChipOptions",settings.classicChipOptions);
|
||||
e->setConf("classicExportOptions",settings.classicExportOptions);
|
||||
e->setConf("wasapiEx",settings.wasapiEx);
|
||||
e->setConf("chanOscThreads",settings.chanOscThreads);
|
||||
e->setConf("renderPoolThreads",settings.renderPoolThreads);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue