26#ifndef TGUI_BACKEND_GUI_SDL_HPP
27#define TGUI_BACKEND_GUI_SDL_HPP
29#include <TGUI/Backend/Window/BackendGui.hpp>
134 void updateContainerSize()
override;
140 SDL_Window* m_window =
nullptr;
142 bool m_touchFirstFingerDown =
false;
143 SDL_FingerID m_touchFirstFingerId = 0;
144 SDL_TouchID m_touchFirstFingerTouchId = 0;
Definition: BackendGuiSDL.hpp:40
void mainLoop() override
Give the gui control over the main loop.
virtual void setWindow(SDL_Window *window)
Sets the window on which the gui should be drawn.
BackendGuiSDL()=default
Default constructor.
BackendGuiSDL(SDL_Window *window)
Constructs the gui and set the window on which the gui should be drawn.
bool convertEvent(const SDL_Event &eventSDL, Event &eventTGUI)
Helper function that converts an SDL event to a TGUI event.
bool handleEvent(const SDL_Event &event)
Passes the event to the widgets.
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