From e5521effc043cdf9d781816c0d72bd17830e34f8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 21 Aug 2013 22:45:39 +0300 Subject: move SDL_SetVideoMode calls into graphicsmanager. --- src/graphicsmanager.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/graphicsmanager.h') 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 @@ -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(); -- cgit v1.2.3-70-g09d2