26#ifndef TGUI_BACKEND_GUI_SFML_HPP
27#define TGUI_BACKEND_GUI_SFML_HPP
29#include <TGUI/Backend/Window/BackendGui.hpp>
31#include <SFML/Window.hpp>
133 void updateContainerSize()
override;
139 sf::Window* m_window =
nullptr;
Definition: BackendGuiSFML.hpp:40
bool convertEvent(const sf::Event &eventSFML, Event &eventTGUI)
Helper function that converts an SFML event to a TGUI event.
bool handleEvent(sf::Event event)
Passes the event to the widgets.
BackendGuiSFML(sf::Window &window)
Constructs the gui and set the window on which the gui should be drawn.
virtual void setWindow(sf::Window &window)
Sets the target on which the gui should be drawn.
BackendGuiSFML()=default
Default constructor.
void mainLoop() override
Give the gui control over the main loop.
Base class for the Gui.
Definition: BackendGui.hpp:45
bool handleEvent(Event event)
Passes the event to the widgets.
Namespace that contains all TGUI functions and classes.
Definition: AbsoluteOrRelativeValue.hpp:36