nCine::MouseEvent class

Mouse button event.

Public variables

std::int32_t X
Pointer position on the X axis.
std::int32_t Y
Pointer position on the Y axis.
MouseButton Button
Button that was pressed or released.
std::uint32_t WindowId
Window the pointer is over, 0 for the main one, see MouseState::WindowId.