UI to turn on antenna bias voltage.

This commit is contained in:
Jared Boone
2016-01-23 11:32:10 -08:00
parent 25fac90d4f
commit 60b8b38652
2 changed files with 75 additions and 1 deletions

View File

@@ -176,6 +176,53 @@ private:
SetFrequencyCorrectionModel form_collect();
};
class AntennaBiasSetupView : public View {
public:
AntennaBiasSetupView(NavigationView& nav);
void focus() override;
private:
Text text_title {
{ 5 * 8, 3 * 16, 20 * 8, 16 },
"Antenna Bias Voltage"
};
Text text_description_1 {
{ 24, 6 * 16, 24 * 8, 16 },
"CAUTION: Ensure that all"
};
Text text_description_2 {
{ 28, 7 * 16, 23 * 8, 16 },
"devices attached to the"
};
Text text_description_3 {
{ 8, 8 * 16, 28 * 8, 16 },
"antenna connector can accept"
};
Text text_description_4 {
{ 68, 9 * 16, 13 * 8, 16 },
"a DC voltage!"
};
OptionsField options_bias {
{ 100, 12 * 16 },
5,
{
{ " Off ", 0 },
{ " On ", 1 },
}
};
Button button_done {
{ 72, 15 * 16, 96, 24 },
"Done"
};
};
class AboutView : public View {
public:
AboutView(NavigationView& nav);