Ungrab and fullscreen actions in SDL

This commit is contained in:
Iwan Timmer
2015-08-10 16:07:48 +02:00
parent 22a1238f7d
commit f1926b9980
4 changed files with 42 additions and 14 deletions

View File

@@ -21,6 +21,12 @@
#include <SDL.h>
#define SDL_NOTHING 0
#define SDL_QUIT_APPLICATION 1
#define SDL_MOUSE_GRAB 2
#define SDL_MOUSE_UNGRAB 3
#define SDL_TOGGLE_FULLSCREEN 4
SDL_Window *sdl_window;
void sdl_init(int width, int height);