add option to restore hbmenu when disabling "Replace hbmenu on exit".

fixes #66
This commit is contained in:
ITotalJustice
2024-12-31 18:13:30 +00:00
parent 87642e914e
commit 271fab66f5
3 changed files with 137 additions and 19 deletions

View File

@@ -42,6 +42,8 @@ public:
auto Update(Controller* controller, TouchInfo* touch) -> void override;
auto OnLayoutChange() -> void override;
auto Draw(NVGcontext* vg, Theme* theme) -> void override;
auto OnFocusGained() noexcept -> void override;
auto OnFocusLost() noexcept -> void override;
private:
auto Setup(std::size_t index) -> void; // common setup values