mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-11-22 21:10:27 -05:00
Standalone app api v3 (#2772)
Added file io, and updated some ui elements. Also added Digital Rain standalone app for an example.
This commit is contained in:
parent
776c9bc7c9
commit
b15bb59678
61 changed files with 14474 additions and 12 deletions
|
|
@ -4,6 +4,12 @@ namespace ui {
|
|||
|
||||
ThemeTemplate* Theme::current = nullptr;
|
||||
|
||||
void Theme::destroy() {
|
||||
if (current != nullptr)
|
||||
delete current;
|
||||
current = nullptr;
|
||||
}
|
||||
|
||||
ThemeTemplate* Theme::getInstance() {
|
||||
if (current == nullptr) SetTheme(DefaultGrey);
|
||||
return Theme::current;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue