Mercurial > hg > Members > kono > Cerium
view Renderer/Engine/viewerSDL.h @ 1039:b9cd0c88b69a
AllExecute speparation.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 07 Dec 2010 23:59:46 +0900 |
parents | df5185513c2d |
children |
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(); uint32_t* flip_screen(uint32_t *); }; #endif