view Renderer/Engine/sgchangeSDL.h @ 692:50750b118116

add sgchangeFB,SDL
author hiroki@localhost.localdomain
date Tue, 08 Dec 2009 16:52:04 +0900
parents
children
line wrap: on
line source

#ifndef INCLUDED_SGCHANGE_SDL
#define INCLUDED_SGCHANGE_SDL

#include "SgChange.h"

class SgChangeSDL : public SgChange {
public:
SgChangeSDL(TaskManager* manager, int bpp, int width, int height, int spenum)
    :SgChange(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