GUECS now has a click_on function so you can programatically click on buttons for testing.
This commit is contained in:
parent
78ba83e916
commit
70d27b9a95
2 changed files with 25 additions and 6 deletions
|
@ -155,6 +155,8 @@ namespace guecs {
|
|||
void init();
|
||||
void render(sf::RenderWindow& window);
|
||||
bool mouse(float x, float y, bool hover);
|
||||
void click_on(const std::string& name, bool required=false);
|
||||
void click_on(DinkyECS::Entity slot_id);
|
||||
void debug_layout(sf::RenderWindow& window);
|
||||
|
||||
template <typename Comp>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue