mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-08 09:45:11 -04:00
Fixed LCR scan and alt format, console widget, text input autotrim
This commit is contained in:
parent
97435147fb
commit
c58039e557
22 changed files with 221 additions and 277 deletions
|
@ -240,40 +240,20 @@ private:
|
|||
|
||||
class DebugLCRView : public View {
|
||||
public:
|
||||
DebugLCRView(NavigationView& nav, char* lcrstring, uint8_t checksum);
|
||||
DebugLCRView(NavigationView& nav, std::string lcrstring, uint8_t checksum);
|
||||
|
||||
void focus() override;
|
||||
|
||||
std::string title() const override { return "LCR debug"; };
|
||||
|
||||
private:
|
||||
Text text_lcr1 {
|
||||
{ 16, 32, 208, 8 },
|
||||
""
|
||||
};
|
||||
Text text_lcr2 {
|
||||
{ 16, 32+16, 208, 8 },
|
||||
""
|
||||
};
|
||||
Text text_lcr3 {
|
||||
{ 16, 32+16+16, 208, 8 },
|
||||
""
|
||||
};
|
||||
Text text_lcr4 {
|
||||
{ 16, 32+16+16+16, 208, 8 },
|
||||
""
|
||||
};
|
||||
Text text_lcr5 {
|
||||
{ 16, 32+16+16+16+16, 208, 8 },
|
||||
""
|
||||
Console console {
|
||||
{ 8, 16, 224, 240 }
|
||||
};
|
||||
|
||||
Text text_checksum {
|
||||
{ 16, 32+16+16+16+16+16+32, 208, 8 },
|
||||
""
|
||||
};
|
||||
|
||||
Button button_done {
|
||||
{ 72, 240, 96, 24 },
|
||||
"Done"
|
||||
Button button_exit {
|
||||
{ 72, 264, 96, 32 },
|
||||
"Exit"
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue