From dcf904c99fe0dbc2ce32e66b8a6e60eaf642a417 Mon Sep 17 00:00:00 2001 From: yohannd1 Date: Tue, 30 Jul 2024 01:41:31 -0300 Subject: [PATCH] add "shown in pattern/oscilloscope" as selections for per-channel export --- src/gui/exportOptions.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/gui/exportOptions.cpp b/src/gui/exportOptions.cpp index 357ef8002..19077c13c 100644 --- a/src/gui/exportOptions.cpp +++ b/src/gui/exportOptions.cpp @@ -87,6 +87,18 @@ void FurnaceGUI::drawExportAudio(bool onWindow) { } } ImGui::SameLine(); + if (ImGui::SmallButton(_("Shown in pattern"))) { + for (int i=0; icurSubSong->chanShow[i]; + } + } + ImGui::SameLine(); + if (ImGui::SmallButton(_("Shown in oscilloscope"))) { + for (int i=0; icurSubSong->chanShowChanOsc[i]; + } + } + ImGui::SameLine(); if (ImGui::SmallButton(_("Invert"))) { for (int i=0; i