mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-13 12:12:16 -04:00
Menu item to launch HackRF firmware.
This commit is contained in:
parent
8797aa9758
commit
fecbb7205e
2 changed files with 49 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue