add option to restart sphaira upon installing an update

This commit is contained in:
ITotalJustice
2024-12-21 20:36:59 +00:00
parent e0040b625e
commit 483b2b3ce0
3 changed files with 15 additions and 4 deletions

View File

@@ -42,6 +42,7 @@ public:
void Loop();
static void Exit();
static void ExitRestart();
static auto GetVg() -> NVGcontext*;
static void Push(std::shared_ptr<ui::Widget>);
@@ -89,9 +90,6 @@ public:
void Update();
void Poll();
void DrawBackground();
void DrawTouch();
// void DrawElement(float x, float y, float w, float h, ui::ThemeEntryID id);
auto LoadElementImage(std::string_view value) -> ElementEntry;
auto LoadElementColour(std::string_view value) -> ElementEntry;