Added position option for the bandplan

This commit is contained in:
Ryzerth
2021-04-14 01:45:21 +02:00
parent 11766a2c41
commit 2c334c08ac
4 changed files with 51 additions and 9 deletions

View File

@ -109,6 +109,8 @@ namespace ImGui {
void setFullWaterfallUpdate(bool fullUpdate);
void setBandPlanPos(int pos);
bool centerFreqMoved = false;
bool vfoFreqChanged = false;
bool bandplanEnabled = false;
@ -125,6 +127,12 @@ namespace ImGui {
_REF_COUNT
};
enum {
BANDPLAN_POS_BOTTOM,
BANDPLAN_POS_TOP,
_BANDPLAN_POS_COUNT
};
private:
void drawWaterfall();
@ -210,5 +218,7 @@ namespace ImGui {
bool _fastFFT = true;
bool _fullUpdate = true;
int bandPlanPos = BANDPLAN_POS_BOTTOM;
};
};