diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-21 22:45:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:15 +0300 |
commit | e5521effc043cdf9d781816c0d72bd17830e34f8 (patch) | |
tree | 091d8fb497dfe236ccaac0cb6f0da88479a9e365 /src/graphicsmanager.h | |
parent | e1cacb5f675b782ba1cfee8906c78ec7793807c8 (diff) | |
download | manaverse-e5521effc043cdf9d781816c0d72bd17830e34f8.tar.gz manaverse-e5521effc043cdf9d781816c0d72bd17830e34f8.tar.bz2 manaverse-e5521effc043cdf9d781816c0d72bd17830e34f8.tar.xz manaverse-e5521effc043cdf9d781816c0d72bd17830e34f8.zip |
move SDL_SetVideoMode calls into graphicsmanager.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r-- | src/graphicsmanager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h index fbea60980..40e323c60 100644 --- a/src/graphicsmanager.h +++ b/src/graphicsmanager.h @@ -37,6 +37,8 @@ #endif +#include "sdlshared.h" + #include "utils/stringvector.h" #include <SDL_stdinc.h> @@ -50,6 +52,7 @@ class Graphics; class TestMain; struct FBOInfo; +struct SDL_Window; enum ScreenDensity { @@ -75,6 +78,9 @@ class GraphicsManager final void setVideoMode(); + SDL_Window *createWindow(const int w, const int h, + const int bpp, const int flags); + bool getAllVideoModes(StringVect &modeList); void detectPixelSize(); |