Encoders, Nuoptix DTMF and RDS transmitters now use TransmitterView

Bigger buttons in AlphanumView, 3 pages
Scary yellow stripes around TransmitterView
This commit is contained in:
furrtek 2017-02-07 22:12:20 +00:00
parent fc8279aa30
commit c72b490d49
16 changed files with 180 additions and 184 deletions

View file

@ -56,6 +56,7 @@ public:
~TransmitterView();
void on_show() override;
void paint(Painter& painter) override;
void focus() override;
void set_transmitting(const bool transmitting);
@ -75,27 +76,27 @@ private:
bool transmitting_ { false };
FrequencyField field_frequency {
{ 0 * 8, 0 * 16 }
{ 0 * 8, 1 * 8 }
};
TXGainField field_gain {
{ 10 * 8, 0 * 16 }
{ 10 * 8, 1 * 8 }
};
NumberField field_bw {
{ 13 * 8, 0 * 16 },
{ 13 * 8, 1 * 8 },
3,
{ 1, 150 },
1,
' '
};
Text text_kHz {
{ 16 * 8, 0 * 16, 3 * 8, 1 * 16 },
{ 16 * 8, 1 * 8, 3 * 8, 1 * 16 },
"kHz"
};
Button button_start {
{ 20 * 8, 0 * 16, 9 * 8, 32 },
{ 20 * 8, 1 * 8, 9 * 8, 32 },
"START"
};