Make the transitions more solid by having an open/close set of functions to maintain cleaning up internal state.
This commit is contained in:
parent
029a0f86ae
commit
dfd3118d04
2 changed files with 25 additions and 13 deletions
|
@ -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();
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue