summaryrefslogtreecommitdiff
path: root/src/utils/sdl2helper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-24 14:51:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:17 +0300
commit8f670620dbf4c8092e9f834f9d65cbc607b81511 (patch)
tree1a1a8e51ecaa65955639c3f9279f6f704e6dac5d /src/utils/sdl2helper.h
parented77e8fb99e16e72cde0e163a9b58c5cefd8d05d (diff)
downloadmanaplus-8f670620dbf4c8092e9f834f9d65cbc607b81511.tar.gz
manaplus-8f670620dbf4c8092e9f834f9d65cbc607b81511.tar.bz2
manaplus-8f670620dbf4c8092e9f834f9d65cbc607b81511.tar.xz
manaplus-8f670620dbf4c8092e9f834f9d65cbc607b81511.zip
move WMInfo function calls into SDL helper.
Diffstat (limited to 'src/utils/sdl2helper.h')
-rw-r--r--src/utils/sdl2helper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/sdl2helper.h b/src/utils/sdl2helper.h
index 3e7b20651..5ba2d45bb 100644
--- a/src/utils/sdl2helper.h
+++ b/src/utils/sdl2helper.h
@@ -27,6 +27,7 @@
#include "localconsts.h"
struct SDL_Surface;
+struct SDL_SysWMinfo;
struct SDL_Window;
namespace SDL
@@ -42,6 +43,8 @@ namespace SDL
void setGamma(SDL_Window *const window, const float gamma);
void setVsync(const int val);
+
+ bool getWindowWMInfo(SDL_Window *const window, SDL_SysWMinfo *const info);
} // namespace SDL
#endif // USE_SDL2