nCine::MouseEvent class

Information about a mouse event.

Derived classes

class AndroidMouseEvent
Information about an Android mouse event.
class GlfwMouseEvent
Information about a GLFW mouse event.
class Qt5MouseEvent
Information about a Qt5 mouse event.
class SdlMouseEvent
Information about an SDL mouse event.

Public functions

auto isLeftButton() const -> bool pure virtual
auto isMiddleButton() const -> bool pure virtual
auto isRightButton() const -> bool pure virtual
auto isFourthButton() const -> bool pure virtual
auto isFifthButton() const -> bool pure virtual

Public variables

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