diff include/Cerium/viewerFB.h @ 0:04e28d8d3c6f

first commit
author Daiki KINJYO <e085722@ie.u-ryukyu.ac.jp>
date Mon, 08 Nov 2010 01:23:25 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/Cerium/viewerFB.h	Mon Nov 08 01:23:25 2010 +0900
@@ -0,0 +1,21 @@
+#ifndef INCLUDED_VIEWER_FB
+#define INCLUDED_VIEWER_FB
+
+#include "fb.h"
+#include "ViewerDevice.h"
+
+class ViewerFB : public ViewerDevice {
+public:
+    ViewerFB(TaskManager *manager) {};
+    ViewerFB();
+    virtual ~ViewerFB();
+    ScreenInfo screen_info ;
+
+    /* override function */
+    Uint32 *video_init(TaskManager *manager, int bpp, int width, int height);
+    void clean_pixels(void);
+    void clear_screen();
+    void free_device();
+};
+
+#endif