![]() |
Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
|
Mouse button event parameters (EventType::MouseButtonPressed, EventType::MouseButtonReleased) More...
#include <gf/Event.h>
Public Attributes | |
uint32_t | windowId |
The window id of the event. More... | |
MouseButton | button |
Code of the button that has been pressed. More... | |
Vector2i | coords |
Position of the mouse cursor. More... | |
uint8_t | clicks |
Number of clicks. More... | |
Mouse button event parameters (EventType::MouseButtonPressed, EventType::MouseButtonReleased)
MouseButton gf::MouseButtonEvent::button |
Code of the button that has been pressed.
uint8_t gf::MouseButtonEvent::clicks |
Number of clicks.
Vector2i gf::MouseButtonEvent::coords |
Position of the mouse cursor.
uint32_t gf::MouseButtonEvent::windowId |
The window id of the event.