Mercurial > hg > Game > Cerium
view Renderer/Engine/viewerSDL.h @ 728:c7afc21e448d draft
add Engine/ViewerDevice , SgRootChange not work
author | aaa |
---|---|
date | Sat, 19 Dec 2009 20:32:02 +0900 |
parents | 3bc98f6d31ff |
children | dbebc7afd08e |
line wrap: on
line source
#ifndef INCLUDED_VIEWER_SDL #define INCLUDED_VIEWER_SDL #include "ViewerDevice.h" class ViewerSDL : public ViewerDevice { public: ViewerSDL(TaskManager* manager) {}; ViewerSDL(); virtual ~ViewerSDL(); SDL_Surface *screen; SDL_Surface *bitmap; /* override function */ Uint32 *video_init(TaskManager *manager, int bpp, int width, int height); void clean_pixels(); void clear_screen(); void free_device(); }; #endif