view Renderer/Engine/viewerSDL.h @ 603:42c94f85c779

long -> memaddr (64 or 32)
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 07 Nov 2009 14:13:29 +0900
parents 735f76483bb2
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