Mercurial > hg > Members > kono > Cerium
diff Renderer/Engine/viewerFB.h @ 728:4f77768d7a7f
add Engine/ViewerDevice , SgRootChange not work
author | aaa |
---|---|
date | Sat, 19 Dec 2009 20:32:02 +0900 |
parents | 735f76483bb2 |
children | bed529c55eda |
line wrap: on
line diff
--- a/Renderer/Engine/viewerFB.h Sat Dec 19 17:11:43 2009 +0900 +++ b/Renderer/Engine/viewerFB.h Sat Dec 19 20:32:02 2009 +0900 @@ -1,16 +1,19 @@ #ifndef INCLUDED_VIEWER_FB #define INCLUDED_VIEWER_FB -#include "viewer.h" +#include "ViewerDevice.h" -class ViewerFB : public Viewer { +class ViewerFB : public ViewerDevice { public: -ViewerFB(TaskManager *manager, int bpp, int width, int height, int spenum) - :Viewer(bpp, width, height, spenum) {} + ViewerFB(TaskManager *manager) {}; + ViewerFB(); + virtual ~ViewerFB(); /* override function */ - void video_init(TaskManager *manager); + Uint32 *video_init(TaskManager *manager, int bpp, int width, int height); void clean_pixels(void); + void clear_screen(); + void free_device(); }; #endif