]> git.localhorst.tv Git - space.git/blobdiff - src/sdl/InitScreen.h
move to SDL2
[space.git] / src / sdl / InitScreen.h
diff --git a/src/sdl/InitScreen.h b/src/sdl/InitScreen.h
deleted file mode 100644 (file)
index 38ac9da..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef SPACE_INITSCREEN_H_
-#define SPACE_INITSCREEN_H_
-
-#include <SDL/SDL.h>
-
-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