view Renderer/test_render/viewerSDL.h @ 327:c8edba9cabb7 draft

add test_render/show_time.{cpp,h} {spe,task}/ShowTime.{cpp,h} but incomplete
author aaa
date Fri, 12 Jun 2009 02:07:06 +0900
parents 15bfacccde99
children
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