mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-09 10:35:21 +02:00
Fixed bugs + added option to show bookmarks on FFT
This commit is contained in:
@ -35,6 +35,9 @@ namespace ImGui {
|
||||
double snapInterval = 5000;
|
||||
int reference = REF_CENTER;
|
||||
|
||||
bool leftClamped;
|
||||
bool rightClamped;
|
||||
|
||||
ImVec2 rectMin;
|
||||
ImVec2 rectMax;
|
||||
ImVec2 lineMin;
|
||||
@ -154,6 +157,22 @@ namespace ImGui {
|
||||
|
||||
Event<FFTRedrawArgs> onFFTRedraw;
|
||||
|
||||
struct InputHandlerArgs {
|
||||
ImVec2 fftRectMin;
|
||||
ImVec2 fftRectMax;
|
||||
ImVec2 freqScaleRectMin;
|
||||
ImVec2 freqScaleRectMax;
|
||||
ImVec2 waterfallRectMin;
|
||||
ImVec2 waterfallRectMax;
|
||||
double lowFreq;
|
||||
double highFreq;
|
||||
double freqToPixelRatio;
|
||||
double pixelToFreqRatio;
|
||||
};
|
||||
|
||||
bool inputHandled = false;
|
||||
Event<InputHandlerArgs> onInputProcess;
|
||||
|
||||
enum {
|
||||
REF_LOWER,
|
||||
REF_CENTER,
|
||||
|
Reference in New Issue
Block a user