Moved menus to their own respective files

This commit is contained in:
Ryzerth
2020-09-25 14:25:36 +02:00
parent 5fedda08d7
commit 2c4d7cbf09
16 changed files with 346 additions and 238 deletions

View File

@@ -441,7 +441,7 @@ namespace ImGui {
drawWaterfall();
}
drawVFOs();
if (bandplan != NULL) {
if (bandplan != NULL && bandplanVisible) {
drawBandPlan();
}
@@ -780,5 +780,13 @@ namespace ImGui {
int WaterFall::getFFTHeight() {
return FFTAreaHeight;
}
void WaterFall::showBandplan() {
bandplanVisible = true;
}
void WaterFall::hideBandplan() {
bandplanVisible = false;
}
};