28#include <TGUI/Config.hpp>
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:37
FingerDown/FingerMoved/FingerUp events parameters.
Definition Event.hpp:215
int y
Y position of the mouse pointer, relative to the top of the owner window.
Definition Event.hpp:218
std::uintptr_t fingerId
Unique id of the finger (must not be 0).
Definition Event.hpp:216
int x
X position of the mouse pointer, relative to the left of the owner window.
Definition Event.hpp:217
KeyPressed event parameters.
Definition Event.hpp:166
KeyboardKey code
Code of the key that has been pressed.
Definition Event.hpp:167
bool system
Is the System key pressed?
Definition Event.hpp:171
bool control
Is the Control key pressed?
Definition Event.hpp:169
bool alt
Is the Alt key pressed?
Definition Event.hpp:168
bool shift
Is the Shift key pressed?
Definition Event.hpp:170
MouseMoved event parameters.
Definition Event.hpp:186
int y
Y position of the mouse pointer, relative to the top of the owner window.
Definition Event.hpp:188
int x
X position of the mouse pointer, relative to the left of the owner window.
Definition Event.hpp:187
MouseWheelScrolled events parameters.
Definition Event.hpp:205
int x
X position of the mouse pointer, relative to the left of the owner window.
Definition Event.hpp:207
int y
Y position of the mouse pointer, relative to the top of the owner window.
Definition Event.hpp:208
float delta
Wheel offset (positive is up, negative is down). High-precision mice may use non-integral offsets.
Definition Event.hpp:206
Resized events parameters.
Definition Event.hpp:225
unsigned int width
New width, in pixels.
Definition Event.hpp:226
unsigned int height
New height, in pixels.
Definition Event.hpp:227
TextEntered event parameters.
Definition Event.hpp:178
char32_t unicode
UTF-32 Unicode value of the character.
Definition Event.hpp:179
Type type
Type of the event.
Definition Event.hpp:254
MouseButton
Mouse buttons.
Definition Event.hpp:147
KeyModifier
Modifiers keys.
Definition Event.hpp:155
KeyboardKey
Keyboard key codes.
Definition Event.hpp:40
Type
Enumeration of the different types of events.
Definition Event.hpp:234
MouseButtonEvent mouseButton
Mouse button event parameters (Event::MouseButtonPressed, Event::MouseButtonReleased).
MouseMoveEvent mouseMove
Mouse move event parameters (Event::MouseMoved).
MouseWheelEvent mouseWheel
Mouse wheel event parameters (Event::MouseWheelScrolled).
FingerEvent touch
Touch event parameters (Event::FingerDown, Event::FingerMoved, Event::FingerUp).
SizeEvent size
Size event parameters (Event::Resized).
KeyEvent key
Key event parameters (Event::KeyPressed).
TextEvent text
Text event parameters (Event::TextEntered).