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>
125 void updateContainerSize()
override;
131 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.
virtual void setGuiWindow(sf::Window &window)
Sets the window which the gui should use.
BackendGuiSFML()=default
Default constructor.
void mainLoop(Color clearColor={240, 240, 240}) 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.
Wrapper for colors.
Definition: Color.hpp:63
Namespace that contains all TGUI functions and classes.
Definition: AbsoluteOrRelativeValue.hpp:36