Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Test/test_render/viewerSDL.h @ 174:559b48b69b76
getScale()、getTapestry から、span->length に適切なテクスチャの選択に成功
author | gongo@localhost.localdomain |
---|---|
date | Fri, 12 Dec 2008 12:23:20 +0900 |
parents | 5c194c71eca8 |
children | 25c820b6060e |
rev | line source |
---|---|
109 | 1 #ifndef INCLUDED_VIEWER_SDL |
2 #define INCLUDED_VIEWER_SDL | |
3 | |
4 #ifndef INCLUDED_VIEWER | |
5 # include "viewer.h" | |
6 #endif | |
7 | |
8 class ViewerSDL : public Viewer { | |
9 public: | |
10 ViewerSDL(int bpp, int width, int height, int spenum) | |
11 :Viewer(bpp, width, height, spenum) {} | |
12 | |
13 SDL_Surface *screen; | |
14 SDL_Surface *bitmap; | |
15 | |
16 /* override function */ | |
17 void video_init(void); | |
18 void clean_pixels(); | |
19 void run_loop(void); | |
20 void run_finish(void); | |
21 }; | |
22 | |
23 #endif |