GUI: and here is the new chip selector

This commit is contained in:
tildearrow 2022-08-26 23:35:16 -05:00
parent daf176e197
commit 73f88c7635
6 changed files with 181 additions and 32 deletions

View file

@ -3042,6 +3042,7 @@ bool FurnaceGUI::loop() {
if (!e->addSystem(picked)) {
showError("cannot add chip! ("+e->getLastError()+")");
}
ImGui::CloseCurrentPopup();
updateWindowTitle();
}
ImGui::EndMenu();
@ -3063,6 +3064,7 @@ bool FurnaceGUI::loop() {
if (picked!=DIV_SYSTEM_NULL) {
e->changeSystem(i,picked,preserveChanPos);
updateWindowTitle();
ImGui::CloseCurrentPopup();
}
ImGui::EndMenu();
}
@ -4756,6 +4758,7 @@ FurnaceGUI::FurnaceGUI():
drawHalt(10),
macroPointSize(16),
waveEditStyle(0),
curSysSection(NULL),
pendingRawSampleDepth(8),
pendingRawSampleChannels(1),
pendingRawSampleUnsigned(false),