GUI: new osc renderer, part 9
This commit is contained in:
parent
10fc2d9354
commit
8dcb36221a
6 changed files with 42 additions and 20 deletions
|
|
@ -4673,6 +4673,20 @@ bool FurnaceGUI::loop() {
|
|||
MEASURE(effectList,drawEffectList());
|
||||
}
|
||||
|
||||
// after done, remove
|
||||
if (ImGui::Begin("NewCode",NULL,ImGuiWindowFlags_NoTitleBar|ImGuiWindowFlags_AlwaysAutoResize)) {
|
||||
if (rend->supportsDrawOsc()) {
|
||||
pushToggleColors(newOscCode);
|
||||
if (ImGui::Button("New Code")) newOscCode=!newOscCode;
|
||||
popToggleColors();
|
||||
} else if (renderBackend==GUI_BACKEND_GL) {
|
||||
ImGui::Text("Master, are you playing a trick on me?\nThat's not very nice!");
|
||||
} else {
|
||||
ImGui::Text("That would seem unwise given the\ncurrently selected Render Backend.");
|
||||
}
|
||||
}
|
||||
ImGui::End();
|
||||
|
||||
// release selection if mouse released
|
||||
if (ImGui::IsMouseReleased(ImGuiMouseButton_Left) && selecting) {
|
||||
if (!selectingFull) cursor=selEnd;
|
||||
|
|
@ -7296,6 +7310,7 @@ FurnaceGUI::FurnaceGUI():
|
|||
safeMode(false),
|
||||
midiWakeUp(true),
|
||||
makeDrumkitMode(false),
|
||||
newOscCode(true),
|
||||
audioEngineChanged(false),
|
||||
settingsChanged(false),
|
||||
debugFFT(false),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue