283
|
1 #ifndef INCLUDED_VIEWER_SDL
|
|
2 #define INCLUDED_VIEWER_SDL
|
|
3
|
507
|
4 #include "viewer.h"
|
283
|
5
|
|
6 class ViewerSDL : public Viewer {
|
|
7 public:
|
507
|
8 ViewerSDL(TaskManager* manager, int bpp, int width, int height, int spenum)
|
|
9 :Viewer(bpp, width, height, spenum) {}
|
283
|
10
|
|
11 SDL_Surface *screen;
|
|
12 SDL_Surface *bitmap;
|
|
13
|
|
14 /* override function */
|
507
|
15 void video_init(TaskManager *manager);
|
283
|
16 void clean_pixels();
|
507
|
17 void run_loop(HTaskPtr task_next);
|
|
18 void run_finish();
|
283
|
19 };
|
|
20
|
|
21 #endif
|