mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-23 16:34:43 +01:00
Fixed windows code left outside ifdef
This commit is contained in:
parent
9df90e5e75
commit
ff2ab3b27e
@ -36,8 +36,6 @@
|
|||||||
|
|
||||||
#include <gui/widgets/file_select.h>
|
#include <gui/widgets/file_select.h>
|
||||||
#include <gui/widgets/folder_select.h>
|
#include <gui/widgets/folder_select.h>
|
||||||
FileSelect fileSelect("D:/Downloads/unicast.wav");
|
|
||||||
FolderSelect foldSelect("%ROOT/recordings");
|
|
||||||
|
|
||||||
// const int FFTSizes[] = {
|
// const int FFTSizes[] = {
|
||||||
// 65536,
|
// 65536,
|
||||||
@ -116,21 +114,11 @@ bool centerTuning = false;
|
|||||||
dsp::stream<dsp::complex_t> dummyStream;
|
dsp::stream<dsp::complex_t> dummyStream;
|
||||||
bool demoWindow = false;
|
bool demoWindow = false;
|
||||||
|
|
||||||
COMDLG_FILTERSPEC rgSpec[] ={
|
|
||||||
{ L"Wav File", L"*.wav" },
|
|
||||||
{ L"All", L"*.*" },
|
|
||||||
};
|
|
||||||
|
|
||||||
void windowInit() {
|
void windowInit() {
|
||||||
LoadingScreen::show("Initializing UI");
|
LoadingScreen::show("Initializing UI");
|
||||||
gui::waterfall.init();
|
gui::waterfall.init();
|
||||||
gui::waterfall.setRawFFTSize(fftSize);
|
gui::waterfall.setRawFFTSize(fftSize);
|
||||||
|
|
||||||
// TEMP TEST
|
|
||||||
|
|
||||||
fileSelect.setWindowsFilter(rgSpec, 2);
|
|
||||||
// ==========
|
|
||||||
|
|
||||||
tempFFT = new float[fftSize];
|
tempFFT = new float[fftSize];
|
||||||
FFTdata = new float[fftSize];
|
FFTdata = new float[fftSize];
|
||||||
|
|
||||||
@ -569,8 +557,6 @@ void drawWindow() {
|
|||||||
}
|
}
|
||||||
ImGui::Checkbox("Show demo window", &demoWindow);
|
ImGui::Checkbox("Show demo window", &demoWindow);
|
||||||
ImGui::Checkbox("Experimental zoom", &experimentalZoom);
|
ImGui::Checkbox("Experimental zoom", &experimentalZoom);
|
||||||
fileSelect.render("##_testfile");
|
|
||||||
foldSelect.render("##_testfold");
|
|
||||||
ImGui::Text("ImGui version: %s", ImGui::GetVersion());
|
ImGui::Text("ImGui version: %s", ImGui::GetVersion());
|
||||||
|
|
||||||
ImGui::Spacing();
|
ImGui::Spacing();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user