Mercurial > hg > Members > kono > Cerium
diff Renderer/Engine/viewerSDL.h @ 507:735f76483bb2
Reorganization..
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 12 Oct 2009 09:39:35 +0900 |
parents | Renderer/test_render/viewerSDL.h@55ea4465b1a2 |
children | 4f77768d7a7f |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Renderer/Engine/viewerSDL.h Mon Oct 12 09:39:35 2009 +0900 @@ -0,0 +1,21 @@ +#ifndef INCLUDED_VIEWER_SDL +#define INCLUDED_VIEWER_SDL + +#include "viewer.h" + +class ViewerSDL : public Viewer { +public: +ViewerSDL(TaskManager* manager, int bpp, int width, int height, int spenum) + :Viewer(bpp, width, height, spenum) {} + + SDL_Surface *screen; + SDL_Surface *bitmap; + + /* override function */ + void video_init(TaskManager *manager); + void clean_pixels(); + void run_loop(HTaskPtr task_next); + void run_finish(); +}; + +#endif