prepare for macroInt preview in instrument editor
This commit is contained in:
parent
9eb9561b53
commit
e8f29cf122
9 changed files with 467 additions and 57 deletions
|
|
@ -2670,6 +2670,7 @@ bool FurnaceGUI::loop() {
|
|||
ImGui::Separator();
|
||||
if (ImGui::BeginMenu("add system...")) {
|
||||
for (int j=0; availableSystems[j]; j++) {
|
||||
if (!settings.hiddenSystems && availableSystems[j]==DIV_SYSTEM_YMU759) continue;
|
||||
sysAddOption((DivSystem)availableSystems[j]);
|
||||
}
|
||||
ImGui::EndMenu();
|
||||
|
|
@ -2687,6 +2688,7 @@ bool FurnaceGUI::loop() {
|
|||
for (int i=0; i<e->song.systemLen; i++) {
|
||||
if (ImGui::BeginMenu(fmt::sprintf("%d. %s##_SYSC%d",i+1,getSystemName(e->song.system[i]),i).c_str())) {
|
||||
for (int j=0; availableSystems[j]; j++) {
|
||||
if (!settings.hiddenSystems && availableSystems[j]==DIV_SYSTEM_YMU759) continue;
|
||||
sysChangeOption(i,(DivSystem)availableSystems[j]);
|
||||
}
|
||||
ImGui::EndMenu();
|
||||
|
|
@ -3886,6 +3888,7 @@ FurnaceGUI::FurnaceGUI():
|
|||
lockLayout(false),
|
||||
editOptsVisible(false),
|
||||
latchNibble(false),
|
||||
nonLatchNibble(false),
|
||||
curWindow(GUI_WINDOW_NOTHING),
|
||||
nextWindow(GUI_WINDOW_NOTHING),
|
||||
nextDesc(NULL),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue