35#ifndef TCOD_MOUSE_HPP_
36#define TCOD_MOUSE_HPP_
44 "Use SDL_ShowCursor to handle the mouse cursor."
45 "\n\tSDL_ShowCursor(visible);")
46 static void showCursor(
bool visible);
49 "Use SDL_ShowCursor to handle the mouse cursor."
50 "\n\tint is_visible = SDL_ShowCursor(SDL_QUERY);")
51 static bool isCursorVisible();
54 "Use SDL_WarpMouseInWindow to handle the mouse cursor."
55 "\n\tSDL_WarpMouseInWindow(NULL, x, y);")
56 static void move(
int x,
int y);
59 "Use SDL_GetMouseState to check the mouse state."
62 "\n\nint buttons = SDL_GetMouseState(&x, &y);")
Deprecated mouse functions.
Mouse state provided by the libtcod event system.
Mouse state provided by the libtcod event system.
Definition mouse_types.h:50