mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-25 18:38:30 +01:00
Slight fixes on the hrpt decoder and new version
This commit is contained in:
parent
99096885f5
commit
d9a0243905
@ -1,3 +1,3 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define VERSION_STR "1.0.0_rc5"
|
#define VERSION_STR "1.0.0"
|
@ -7,6 +7,7 @@
|
|||||||
#include <dsp/sink.h>
|
#include <dsp/sink.h>
|
||||||
#include <gui/widgets/symbol_diagram.h>
|
#include <gui/widgets/symbol_diagram.h>
|
||||||
#include <gui/widgets/line_push_image.h>
|
#include <gui/widgets/line_push_image.h>
|
||||||
|
#include <gui/gui.h>
|
||||||
|
|
||||||
#define NOAA_HRPT_VFO_SR 3000000.0f
|
#define NOAA_HRPT_VFO_SR 3000000.0f
|
||||||
#define NOAA_HRPT_VFO_BW 2000000.0f
|
#define NOAA_HRPT_VFO_BW 2000000.0f
|
||||||
@ -212,6 +213,8 @@ public:
|
|||||||
ImGui::SetNextItemWidth(menuWidth);
|
ImGui::SetNextItemWidth(menuWidth);
|
||||||
symDiag.draw();
|
symDiag.draw();
|
||||||
|
|
||||||
|
if (showWindow) {
|
||||||
|
gui::mainWindow.lockWaterfallControls = true;
|
||||||
ImGui::Begin("NOAA HRPT Decoder");
|
ImGui::Begin("NOAA HRPT Decoder");
|
||||||
ImGui::BeginTabBar("NOAAHRPTTabs");
|
ImGui::BeginTabBar("NOAAHRPTTabs");
|
||||||
|
|
||||||
@ -278,6 +281,9 @@ public:
|
|||||||
|
|
||||||
ImGui::EndTabBar();
|
ImGui::EndTabBar();
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
|
}
|
||||||
|
|
||||||
|
ImGui::Checkbox("Show Image", &showWindow);
|
||||||
};
|
};
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -561,4 +567,6 @@ private:
|
|||||||
dsp::stream<uint16_t> compositeIn2;
|
dsp::stream<uint16_t> compositeIn2;
|
||||||
std::thread compositeThread;
|
std::thread compositeThread;
|
||||||
|
|
||||||
|
bool showWindow = false;
|
||||||
|
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user