Make the transitions more solid by having an open/close set of functions to maintain cleaning up internal state.

This commit is contained in:
Zed A. Shaw 2025-06-17 12:24:11 -04:00
parent 029a0f86ae
commit dfd3118d04
2 changed files with 25 additions and 13 deletions

View file

@ -39,6 +39,8 @@ namespace gui {
void handle_mouse(Event ev, guecs::UI& gui);
void mouse_action(bool hover);
void render();
void open();
void close();
sf::Vector2f mouse_position();
};
}