4 * Created on: Apr 22, 2012
8 #ifndef SDL_INITSCREEN_H_
9 #define SDL_INITSCREEN_H_
18 InitScreen(int width, int height, int bpp = 32, Sint32 flags = SDL_HWSURFACE | SDL_DOUBLEBUF | SDL_RESIZABLE);
19 virtual ~InitScreen(void);
21 InitScreen(const InitScreen &);
22 InitScreen &operator =(const InitScreen &);
25 SDL_Surface *Screen(void) { return screen; };
26 const SDL_Surface *Screen(void) const { return screen; };
28 void Flip(void) { SDL_Flip(screen); };
29 SDL_Surface *Resize(int width, int height);
40 #endif /* SDL_INITSCREEN_H_ */