26 #ifndef _TGUI_FORM_INCLUDED_
27 #define _TGUI_FORM_INCLUDED_
35 struct TGUI_API
Form :
public Group, sf::NonCopyable
41 Form(sf::RenderWindow& window);
59 virtual void handleEvent(sf::Event event);
87 virtual bool getCallback(
Callback& callback);
95 virtual void addCallback(
const Callback& callback);
102 sf::RenderWindow* m_Window;
105 std::queue<Callback> m_Callback;
119 #endif //_TGUI_FORM_INCLUDED_
When you receive an action callback from an object then this struct will be passed as parameter...
Definition: Objects.hpp:362
Parent struct for objects that store multiple objects.
Definition: Group.hpp:38