mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-23 06:51:27 -04:00
UI options: backlight auto-off, splash screen toggle
This commit is contained in:
parent
d1e9bf33ec
commit
1e71a10346
13 changed files with 311 additions and 74 deletions
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include "splash.hpp"
|
||||
|
||||
#include "ui_about.hpp"
|
||||
#include "ui_setup.hpp"
|
||||
#include "ui_debug.hpp"
|
||||
#include "ui_receiver.hpp"
|
||||
|
@ -169,7 +170,10 @@ SystemView::SystemView(
|
|||
//else
|
||||
// navigation_view.push(new BMPView { navigation_view });
|
||||
|
||||
if (portapack::persistent_memory::ui_config() & 1)
|
||||
navigation_view.push(new BMPView { navigation_view });
|
||||
else
|
||||
navigation_view.push(new SystemMenuView { navigation_view });
|
||||
}
|
||||
|
||||
Context& SystemView::context() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue