view Renderer/Engine/viewerSDL.h @ 507:735f76483bb2

Reorganization..
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 12 Oct 2009 09:39:35 +0900
parents Renderer/test_render/viewerSDL.h@55ea4465b1a2
children 4f77768d7a7f
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