Mercurial > hg > Members > kono > Cerium
view 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 |
line wrap: on
line source
#ifndef INCLUDED_VIEWER_SDL #define INCLUDED_VIEWER_SDL #ifndef INCLUDED_VIEWER # include "viewer.h" #endif class ViewerSDL : public Viewer { public: ViewerSDL(int bpp, int width, int height, int spenum) :Viewer(bpp, width, height, spenum) {} SDL_Surface *screen; SDL_Surface *bitmap; /* override function */ void video_init(void); void clean_pixels(); void run_loop(void); void run_finish(void); }; #endif