cpp-sdl2
C++ header-only SDL2 wrapper
|
Classes | |
class | Cursor |
Cursor object. More... | |
Functions | |
void | set_relative (bool enabled) |
Namespace containing everything that has to do with mouse management Set the mose in relative mode. More... | |
bool | get_relative () |
Get if the mouse is in relative mode. More... | |
void | warp_in_window (Window const &window, Vec2i const &position) |
Wrap inside the given windows. More... | |
void | warp_global (Vec2i const &position) |
Wrap at this global and absolute position. More... | |
|
inline |
|
inline |
|
inline |
Wrap inside the given windows.
Definition at line 25 of file mouse.hpp.
References sdl::Window::ptr().