view TaskManager/Test/test_render/viewerSDL.h @ 113:80d93fe0601d draft

Define New Texture Data Structure
author gongo@gendarme.cr.ie.u-ryukyu.ac.jp
date Thu, 13 Nov 2008 10:10:57 +0900
parents 028ffc9c0375
children b3fb0013e6b2
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