Numbers station works, very basic

Added utilities, whip antenna length calculator
Modal errors/abort
This commit is contained in:
furrtek
2016-12-06 13:31:38 +01:00
parent d18b6d135d
commit e56fa0f479
32 changed files with 642 additions and 153 deletions
+20 -6
View File
@@ -28,23 +28,37 @@
namespace ui {
class FrequencySaveView : public View {
public:
FrequencySaveView(NavigationView& nav, const rf::Frequency value);
//~FrequencySaveView();
void focus() override;
std::string title() const override { return "Save frequency"; };
private:
Button button_exit {
{ 72, 264, 96, 32 },
"Exit"
};
};
class FreqManView : public View {
public:
FreqManView(NavigationView& nav);
//~FreqManView();
std::string title() const override { return "Frequency list"; };
void focus() override;
void paint(Painter& painter) override;
//void on_show() override;
//void on_hide() override;
std::string title() const override { return "Freq. manager"; };
private:
std::array<Text, 10> text_list;
Button button_ok {
Button button_exit {
{ 72, 264, 96, 32 },
"OK"
"Exit"
};
};