From ff2ab3b27eb396d5472b808b712b8290381d72f9 Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Mon, 8 Feb 2021 01:55:57 +0100 Subject: [PATCH] Fixed windows code left outside ifdef --- core/src/gui/main_window.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/core/src/gui/main_window.cpp b/core/src/gui/main_window.cpp index 1509fb3d..5bf58dfb 100644 --- a/core/src/gui/main_window.cpp +++ b/core/src/gui/main_window.cpp @@ -36,8 +36,6 @@ #include #include -FileSelect fileSelect("D:/Downloads/unicast.wav"); -FolderSelect foldSelect("%ROOT/recordings"); // const int FFTSizes[] = { // 65536, @@ -116,21 +114,11 @@ bool centerTuning = false; dsp::stream dummyStream; bool demoWindow = false; -COMDLG_FILTERSPEC rgSpec[] ={ - { L"Wav File", L"*.wav" }, - { L"All", L"*.*" }, -}; - void windowInit() { LoadingScreen::show("Initializing UI"); gui::waterfall.init(); gui::waterfall.setRawFFTSize(fftSize); - // TEMP TEST - - fileSelect.setWindowsFilter(rgSpec, 2); - // ========== - tempFFT = new float[fftSize]; FFTdata = new float[fftSize]; @@ -569,8 +557,6 @@ void drawWindow() { } ImGui::Checkbox("Show demo window", &demoWindow); ImGui::Checkbox("Experimental zoom", &experimentalZoom); - fileSelect.render("##_testfile"); - foldSelect.render("##_testfold"); ImGui::Text("ImGui version: %s", ImGui::GetVersion()); ImGui::Spacing();