![]() |
nCine
2025.04.r498-9d36345
A cross-platform 2D game engine
|
Information about the mouse state. More...
#include <InputEvents.h>
Public Member Functions | |
virtual bool | isButtonDown (MouseButton button) const =0 |
Returns true if the specified button is down this frame. | |
virtual bool | isButtonPressed (MouseButton button) const =0 |
Returns true if the specified button went from not down to down this frame. | |
virtual bool | isButtonReleased (MouseButton button) const =0 |
Returns true if the specified button went from down to not down this frame. | |
Public Attributes | |
int | x |
Pointer position on the X axis. | |
int | y |
Pointer position on the Y axis. | |
Static Protected Attributes | |
static const unsigned int | NumButtons = 5 |
Information about the mouse state.