Loading...
Searching...
No Matches
Mouse.hpp
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
static void setPosition(const Vector2i &position)
Set the current position of the mouse in desktop coordinates.
static void setPosition(const Vector2i &position, const WindowBase &relativeTo)
Set the current position of the mouse in window coordinates.
static bool isButtonPressed(Button button)
Check if a mouse button is pressed.
static Vector2i getPosition()
Get the current position of the mouse in desktop coordinates.
static Vector2i getPosition(const WindowBase &relativeTo)
Get the current position of the mouse in window coordinates.
Definition AlResource.hpp:35