Loading [MathJax]/extensions/tex2jax.js
Gamedev Framework (gf)  0.19.0
A C++17 framework for 2D games
Public Attributes | List of all members
gf::MouseCursorEvent Struct Reference

Mouse cursor move event parameters (EventType::MouseMoved) More...

#include <gf/Event.h>

Public Attributes

uint32_t windowId
 The window id of the event. More...
 
Vector2i coords
 Position of the mouse cursor. More...
 
Vector2i motion
 Relative position of the mouse cursor. More...
 

Detailed Description

Mouse cursor move event parameters (EventType::MouseMoved)

Member Data Documentation

โ—† coords

Vector2i gf::MouseCursorEvent::coords

Position of the mouse cursor.

โ—† motion

Vector2i gf::MouseCursorEvent::motion

Relative position of the mouse cursor.

โ—† windowId

uint32_t gf::MouseCursorEvent::windowId

The window id of the event.