26 #ifndef _TGUI_WINDOW_INCLUDED_
27 #define _TGUI_WINDOW_INCLUDED_
46 Window(sf::VideoMode mode,
const std::string& title, sf::Uint32 style = sf::Style::Default,
const sf::ContextSettings& settings = sf::ContextSettings());
51 explicit Window(sf::WindowHandle handle,
const sf::ContextSettings& settings = sf::ContextSettings());
65 virtual void handleEvent(sf::Event event);
71 virtual void drawGUI();
91 virtual bool getCallback(
Callback& callback);
99 virtual void addCallback(
const Callback& callback);
106 std::queue<Callback> m_Callback;
120 #endif //_TGUI_WINDOW_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
Definition: Window.hpp:35