Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
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 |