view Renderer/Engine/viewerSDL.h @ 591:65e52fd2c2e2 draft

send linda not work...
author kazz@kazzone.st.ie.u-ryukyu.ac.jp
date Sun, 01 Nov 2009 06:14:52 +0900
parents 3bc98f6d31ff
children c7afc21e448d
line wrap: on
line source

#ifndef INCLUDED_VIEWER_SDL
#define INCLUDED_VIEWER_SDL

#include "viewer.h"

class ViewerSDL : public Viewer {
public:
ViewerSDL(TaskManager* manager, int bpp, int width, int height, int spenum)
    :Viewer(bpp, width, height, spenum) {}

    SDL_Surface *screen;
    SDL_Surface *bitmap;

    /* override function */
    void video_init(TaskManager *manager);
    void clean_pixels();
    void run_loop(HTaskPtr task_next);
    void run_finish();
};

#endif