 |
Blamite Game Engine - Strings
A library containing general purpose utilities and classes for use in multiple projects.
|
Go to the documentation of this file.
3 #include "../../BlamEvent.h"
8 #define STRINGS_API __declspec(dllexport)
10 #define STRINGS_API __declspec(dllimport)
13 #define MOUSE_BUTTON_LEFT 1
14 #define MOUSE_BUTTON_MIDDLE 2
15 #define MOUSE_BUTTON_RIGHT 3
16 #define MOUSE_BUTTON_X1 4
17 #define MOUSE_BUTTON_X2 5
MouseClickEvent(uint8_t _button, int _x, int _y)
Constructs a new event.
Definition: MouseClickEvent.cpp:3
int GetX()
Retrieves the mouse X position, relative to the window.
Definition: MouseClickEvent.cpp:15
Class representing a generic event.
Definition: BlamEvent.h:39
uint8_t GetButton()
Retrieves the mouse button that was pressed.
Definition: MouseClickEvent.cpp:10
#define STRINGS_API
Definition: MouseClickEvent.h:10
Class representing a mouse button press.
Definition: MouseClickEvent.h:24
BlamEventType
Enumerator listing all possible event types.
Definition: BlamEvent.h:12
int GetY()
Retrieves the mouse Y position, relative to the window.
Definition: MouseClickEvent.cpp:20
@ MouseClick
Indicates the event is a mouse click event. See MouseClickEvent for details.