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:
Totoo 2025-09-01 11:50:46 +02:00 committed by GitHub
parent 776c9bc7c9
commit b15bb59678
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
61 changed files with 14474 additions and 12 deletions

View file

@ -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;