Add HackRF mode explanation text.

This commit is contained in:
Jared Boone 2015-09-01 20:23:11 -07:00
parent 250da67d0f
commit 24e398ca62
2 changed files with 26 additions and 2 deletions

View File

@ -155,6 +155,10 @@ HackRFFirmwareView::HackRFFirmwareView(NavigationView& nav) {
add_children({ {
&text_title,
&text_description_1,
&text_description_2,
&text_description_3,
&text_description_4,
&button_yes,
&button_no,
} });

View File

@ -93,8 +93,28 @@ public:
private:
Text text_title {
{ 6 * 8, 7 * 16, 19 * 8, 16 },
"Enter HackRF Mode?"
{ 76, 4 * 16, 19 * 8, 16 },
"HackRF Mode"
};
Text text_description_1 {
{ 4, 7 * 16, 19 * 8, 16 },
"Run stock HackRF firmware and"
};
Text text_description_2 {
{ 12, 8 * 16, 19 * 8, 16 },
"disable PortaPack until the"
};
Text text_description_3 {
{ 4, 9 * 16, 19 * 8, 16 },
"unit is reset or disconnected"
};
Text text_description_4 {
{ 76, 10 * 16, 19 * 8, 16 },
"from power?"
};
Button button_yes {