view Renderer/Engine/viewerFB.h @ 793:c260205d3185

add light switch api
author yutaka@localhost.localdomain
date Mon, 03 May 2010 05:09:58 +0900
parents 4f77768d7a7f
children bed529c55eda
line wrap: on
line source

#ifndef INCLUDED_VIEWER_FB
#define INCLUDED_VIEWER_FB

#include "ViewerDevice.h"

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

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

#endif