SFML
Simple and Fast Multimedia Library
Loading...
Searching...
No Matches
sf::Event::MouseButtonPressed Struct Reference

Mouse button pressed event subtype. More...

#include <Event.hpp>

Public Attributes

Mouse::Button button {}
 Code of the button that has been pressed.
Vector2i position
 Position of the mouse pointer, relative to the top left of the owner window.

Detailed Description

Mouse button pressed event subtype.

Member Data Documentation

◆ button

Mouse::Button sf::Event::MouseButtonPressed::button {}

Code of the button that has been pressed.

◆ position

Vector2i sf::Event::MouseButtonPressed::position

Position of the mouse pointer, relative to the top left of the owner window.


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