00001 #ifndef INCLUDED_VIEWER_SDL
00002 #define INCLUDED_VIEWER_SDL
00003
00004 #ifndef INCLUDED_VIEWER
00005 # include "viewer.h"
00006 #endif
00007
00008 class ViewerSDL : public Viewer {
00009 public:
00010 ViewerSDL(int bpp, int width, int height, int spenum)
00011 :Viewer(bpp, width, height, spenum) {}
00012
00013 SDL_Surface *screen;
00014 SDL_Surface *bitmap;
00015
00016
00017 void video_init(void);
00018 void clean_pixels();
00019 void run_loop(void);
00020 void run_finish(void);
00021 };
00022
00023 #endif