Menu item to launch HackRF firmware.

This commit is contained in:
Jared Boone 2015-08-01 13:46:15 -07:00
parent 8797aa9758
commit fecbb7205e
2 changed files with 49 additions and 2 deletions

View file

@ -107,6 +107,29 @@ private:
Context& context_;
};
class HackRFFirmwareView : public View {
public:
HackRFFirmwareView(NavigationView& nav);
void focus() override;
private:
Text text_title {
{ 5 * 8, 7 * 16, 19 * 8, 16 },
"Execute HackRF Firmware?"
};
Button button_yes {
{ 4 * 8, 13 * 16, 8 * 8, 24 },
"Yes",
};
Button button_no {
{ 18 * 8, 13 * 16, 8 * 8, 24 },
"No",
};
};
class NotImplementedView : public View {
public:
NotImplementedView(NavigationView& nav);