mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-14 01:15:38 -04:00
Fix back button repaint/focus quirks.
This commit is contained in:
parent
7cb3bbc9f8
commit
8f8a9f2b63
2 changed files with 8 additions and 5 deletions
|
@ -66,15 +66,17 @@ public:
|
|||
|
||||
SystemStatusView();
|
||||
|
||||
void set_back_visible(bool new_value);
|
||||
void set_back_enabled(bool new_value);
|
||||
void set_title(const std::string new_value);
|
||||
|
||||
private:
|
||||
static constexpr auto default_title = "PortaPack";
|
||||
static constexpr auto back_text_enabled = " < ";
|
||||
static constexpr auto back_text_disabled = " * ";
|
||||
|
||||
Button button_back {
|
||||
{ 0 * 8, 0 * 16, 3 * 8, 16 },
|
||||
" < ",
|
||||
back_text_disabled,
|
||||
};
|
||||
|
||||
Text title {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue