mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-14 09:25:30 -04:00
Splash screen and Play Dead functionality
This commit is contained in:
parent
ec26f587f1
commit
30531a20f2
25 changed files with 1891 additions and 179 deletions
|
@ -41,8 +41,8 @@ public:
|
|||
|
||||
private:
|
||||
Text portapack {
|
||||
{ 0, 0, 9 * 8, 1 * 16 },
|
||||
"PortaPack",
|
||||
{ 0, 0, 15 * 8, 1 * 16 },
|
||||
"PortaPack/HAVOC"
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -70,6 +70,25 @@ public:
|
|||
SystemMenuView(NavigationView& nav);
|
||||
};
|
||||
|
||||
class BMPView : public View {
|
||||
public:
|
||||
BMPView(NavigationView& nav);
|
||||
void paint(Painter& painter) override;
|
||||
void focus() override;
|
||||
|
||||
private:
|
||||
Text text_info {
|
||||
{ 5 * 8, 284, 20 * 8, 16 },
|
||||
"shrbrnd-sig-ftk 2015"
|
||||
};
|
||||
|
||||
Button button_done {
|
||||
{ 240, 0, 1, 1 },
|
||||
""
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
class SystemView : public View {
|
||||
public:
|
||||
SystemView(
|
||||
|
@ -85,6 +104,28 @@ private:
|
|||
Context& context_;
|
||||
};
|
||||
|
||||
class PlayDeadView : public View {
|
||||
public:
|
||||
PlayDeadView(NavigationView& nav);
|
||||
void focus() override;
|
||||
|
||||
private:
|
||||
uint32_t sequence = 0;
|
||||
Text text_playdead1 {
|
||||
{ 6 * 8, 7 * 16, 14 * 8, 16 },
|
||||
"Firmware error"
|
||||
};
|
||||
Text text_playdead2 {
|
||||
{ 6 * 8, 9 * 16, 16 * 8, 16 },
|
||||
"0x1400_0000 : 2C"
|
||||
};
|
||||
|
||||
Button button_done {
|
||||
{ 240, 0, 1, 1 },
|
||||
""
|
||||
};
|
||||
};
|
||||
|
||||
class HackRFFirmwareView : public View {
|
||||
public:
|
||||
HackRFFirmwareView(NavigationView& nav);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue