cpp-sdl2
C++ header-only SDL2 wrapper
mouse.hpp File Reference

Go to the source code of this file.

Classes

class  sdl::Mouse::Cursor
 Cursor object. More...
 

Namespaces

 sdl::Mouse
 

Functions

void sdl::Mouse::set_relative (bool enabled)
 Namespace containing everything that has to do with mouse management Set the mose in relative mode. More...
 
bool sdl::Mouse::get_relative ()
 Get if the mouse is in relative mode. More...
 
void sdl::Mouse::warp_in_window (Window const &window, Vec2i const &position)
 Wrap inside the given windows. More...
 
void sdl::Mouse::warp_global (Vec2i const &position)
 Wrap at this global and absolute position. More...