Use ui::Transition for ui::SlideOutPanel.

This commit is contained in:
J-D-K
2025-09-10 18:43:32 -04:00
parent c34672f9be
commit e7e43a6630
7 changed files with 53 additions and 91 deletions

View File

@@ -26,6 +26,9 @@ namespace ui
/// @brief Renders the control guide. Both arguments are ignored in this case.
void render(sdl::SharedTexture &target, bool hasFocus) override;
/// @brief This is a workaround for states where the guide can't really be hidden correctly. Ex: FileMode.
void reset() noexcept;
private:
/// @brief Stores the pointer to the guide string.
const char *m_guide{};