summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-21 22:45:39 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:15 +0300
commite5521effc043cdf9d781816c0d72bd17830e34f8 (patch)
tree091d8fb497dfe236ccaac0cb6f0da88479a9e365 /src/graphicsmanager.h
parente1cacb5f675b782ba1cfee8906c78ec7793807c8 (diff)
downloadmanaplus-e5521effc043cdf9d781816c0d72bd17830e34f8.tar.gz
manaplus-e5521effc043cdf9d781816c0d72bd17830e34f8.tar.bz2
manaplus-e5521effc043cdf9d781816c0d72bd17830e34f8.tar.xz
manaplus-e5521effc043cdf9d781816c0d72bd17830e34f8.zip
move SDL_SetVideoMode calls into graphicsmanager.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h6
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();