Loading...
Searching...
No Matches
Mouse.h
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.
120CSFML_WINDOW_API void sfMouse_setPositionWindowBase(sfVector2i position, const sfWindowBase* relativeTo);
void sfMouse_setPosition(sfVector2i position, const sfWindow *relativeTo)
Set the current position of the mouse.
sfVector2i sfMouse_getPositionWindowBase(const sfWindowBase *relativeTo)
Get the current position of the mouse relative to a window base.
sfVector2i sfMouse_getPosition(const sfWindow *relativeTo)
Get the current position of the mouse.
sfBool sfMouse_isButtonPressed(sfMouseButton button)
Check if a mouse button is pressed.
void sfMouse_setPositionWindowBase(sfVector2i position, const sfWindowBase *relativeTo)
Set the current position of the mouse relative to a window base.