view Renderer/Engine/viewerSDL.h @ 882:1cb89ec2e796 draft

SceneGraphRoot::set_move_task add.
author tkaito
date Mon, 12 Jul 2010 04:02:14 +0900
parents c7afc21e448d
children dbebc7afd08e
line wrap: on
line source

#ifndef INCLUDED_VIEWER_SDL
#define INCLUDED_VIEWER_SDL

#include "ViewerDevice.h"

class ViewerSDL : public ViewerDevice {
public:
    ViewerSDL(TaskManager* manager) {};
    ViewerSDL();
    virtual ~ViewerSDL();

    SDL_Surface *screen;
    SDL_Surface *bitmap;

    /* override function */
    Uint32 *video_init(TaskManager *manager, int bpp, int width, int height);
    void clean_pixels();
    void clear_screen();
    void free_device();
};

#endif