]> git.localhorst.tv Git - l2e.git/blobdiff - src/sdl/InitScreen.h
removed stupid file headers that eclipse put in
[l2e.git] / src / sdl / InitScreen.h
index 54e76804c9af2fc53514a1c97b455712fffccc33..3a71d44485ebc3f436d76f907d5a7e696f1f361d 100644 (file)
@@ -1,10 +1,3 @@
-/*
- * InitScreen.h
- *
- *  Created on: Apr 22, 2012
- *      Author: holy
- */
-
 #ifndef SDL_INITSCREEN_H_
 #define SDL_INITSCREEN_H_
 
@@ -15,7 +8,7 @@ namespace sdl {
 class InitScreen {
 
 public:
-       InitScreen(int width, int height, int bpp = 32, Sint32 flags = SDL_HWSURFACE | SDL_DOUBLEBUF);
+       InitScreen(int width, int height, int bpp = 32, Sint32 flags = SDL_HWSURFACE | SDL_DOUBLEBUF | SDL_RESIZABLE);
        virtual ~InitScreen(void);
 private:
        InitScreen(const InitScreen &);
@@ -25,10 +18,13 @@ public:
        SDL_Surface *Screen(void) { return screen; };
        const SDL_Surface *Screen(void) const { return screen; };
 
-       void Flip(void) { SDL_Flip(screen); };
+       void Flip(void);
+       SDL_Surface *Resize(int width, int height);
 
 private:
        SDL_Surface *screen;
+       int bpp;
+       Sint32 flags;
 
 };