25 #ifndef SFML_MOUSE_HPP 26 #define SFML_MOUSE_HPP 31 #include <SFML/Window/Export.hpp> 32 #include <SFML/System/Vector2.hpp> 80 static bool isButtonPressed(Button button);
115 static void setPosition(
const Vector2i& position);
127 static void setPosition(
const Vector2i& position,
const Window& relativeTo);
133 #endif // SFML_MOUSE_HPP The middle (wheel) mouse button.
The vertical mouse wheel.
Give access to the real-time state of the mouse.
The second extra mouse button.
Window that serves as a target for OpenGL rendering.
The first extra mouse button.
Utility template class for manipulating 2-dimensional vectors.