Cleaned up UI code

This commit is contained in:
Ryzerth
2021-06-20 21:17:11 +02:00
parent 1e71a52727
commit 94fae2135d
16 changed files with 273 additions and 228 deletions

17
core/src/gui/tuner.h Normal file
View File

@@ -0,0 +1,17 @@
#pragma once
#include <string>
namespace tuner {
void centerTuning(std::string vfoName, double freq);
void normalTuning(std::string vfoName, double freq);
enum {
TUNER_MODE_CENTER,
TUNER_MODE_NORMAL,
TUNER_MODE_LOWER_HALF,
TUNER_MODE_UPPER_HALF,
_TUNER_MODE_COUNT
};
void tune(int mode, std::string vfoName, double freq);
}