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
Mouse buttons events parameters (MouseButtonPressed, MouseButtonReleased) More...
#include <SFML/Window/Event.hpp>
Public Attributes | |
Mouse::Button | button |
Code of the button that has been pressed. | |
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. | |
Mouse buttons events parameters (MouseButtonPressed, MouseButtonReleased)
Mouse::Button sf::Event::MouseButtonEvent::button |
int sf::Event::MouseButtonEvent::x |
int sf::Event::MouseButtonEvent::y |