22 #ifndef UTILS_SDLHELPER_H
23 #define UTILS_SDLHELPER_H
35 PRAGMA48(GCC diagnostic ignored
"-Wshadow")
36 #include <SDL_thread.h>
49 const char *
const title);
52 SDL_Surface *
const icon);
61 SDL_SysWMinfo *
const info);
bool info(InputEvent &event)
SDL_Thread * createThread(int(*fn)(void *), const char *const name, void *const data)
void SetWindowTitle(const SDL_Surface *const window, const char *const title)
void WaitThread(SDL_Thread *const thread)
bool PollEvent(SDL_Event *event)
bool getWindowWMInfo(const SDL_Surface *const window, SDL_SysWMinfo *const info)
void setLogLevel(const int level)
void SetWindowIcon(const SDL_Surface *const window, SDL_Surface *const icon)
void makeCurrentContext(void *const context)
void grabInput(const SDL_Surface *const window, const bool grab)
void setGamma(const SDL_Surface *const window, const float gamma)
void setVsync(const int val)
bool getAllVideoModes(StringVect &modeList)
void allowScreenSaver(const bool allow)
void * createGLContext(SDL_Surface *const window, const int major, const int minor, const int profile)
std::vector< std::string > StringVect