X-Git-Url: http://git.localhorst.tv/?p=space.git;a=blobdiff_plain;f=src%2Fsdl%2FInitScreen.h;fp=src%2Fsdl%2FInitScreen.h;h=0000000000000000000000000000000000000000;hp=38ac9dac55dba29278827500415b2dab6b0fc4ca;hb=61c2d30a60d586cbe63885885c6a373c7713af1e;hpb=08d0e47634e1632c96ebe3308535a86f5e625b40 diff --git a/src/sdl/InitScreen.h b/src/sdl/InitScreen.h deleted file mode 100644 index 38ac9da..0000000 --- a/src/sdl/InitScreen.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef SPACE_INITSCREEN_H_ -#define SPACE_INITSCREEN_H_ - -#include - -namespace space { - -class InitScreen { - -public: - InitScreen(int width, int height, int bpp = 32, Sint32 flags = SDL_HWSURFACE | SDL_DOUBLEBUF | SDL_RESIZABLE); - ~InitScreen(); - - InitScreen(const InitScreen &) = delete; - InitScreen &operator =(const InitScreen &) = delete; - -public: - SDL_Surface *Screen() { return screen; }; - const SDL_Surface *Screen() const { return screen; }; - - void Flip(); - SDL_Surface *Resize(int width, int height); - -private: - SDL_Surface *screen; - int bpp; - Sint32 flags; - -}; - -} - -#endif