Documentation of SFML 2.6.1

Warning: this page refers to an old version of SFML. Click here to switch to the latest version.
Loading...
Searching...
No Matches
sf::Event::MouseMoveEvent Struct Reference

Mouse move event parameters (MouseMoved) More...

#include <SFML/Window/Event.hpp>

Public Attributes

int x
 X position of the mouse pointer, relative to the left of the owner window.
 
int y
 Y position of the mouse pointer, relative to the top of the owner window.
 

Detailed Description

Mouse move event parameters (MouseMoved)

Definition at line 85 of file Event.hpp.

Member Data Documentation

◆ x

int sf::Event::MouseMoveEvent::x

X position of the mouse pointer, relative to the left of the owner window.

Definition at line 87 of file Event.hpp.

◆ y

int sf::Event::MouseMoveEvent::y

Y position of the mouse pointer, relative to the top of the owner window.

Definition at line 88 of file Event.hpp.


The documentation for this struct was generated from the following file: