nCine::MouseState class

Information about mouse state.

Derived classes

class AndroidMouseState
Information about Android mouse state.
class GlfwMouseState
Information about GLFW mouse state.
class Qt5MouseState
Information about Qt5 mouse state.
class SdlMouseState
Information about SDL mouse state.
class UwpMouseState
Information about UWP mouse state.

Public functions

auto isButtonDown(MouseButton button) const -> bool pure virtual
Returns true if the specified button is down this frame.

Public variables

std::int32_t x
Pointer position on the X axis.
std::int32_t y
Pointer position on the Y axis.

Protected static variables

static const unsigned int NumButtons