diff TaskManager/Test/simple_render/test/LoadTexture/viewer.h @ 90:312b535f121e

Initial revision
author gongo
date Wed, 27 Feb 2008 21:17:47 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TaskManager/Test/simple_render/test/LoadTexture/viewer.h	Wed Feb 27 21:17:47 2008 +0900
@@ -0,0 +1,23 @@
+#include <SDL.h>
+
+#ifndef INCLUDED_VIEWER
+#define INCLUDED_VIEWER
+
+#include "TaskManager.h"
+
+class Viewer {
+public:
+	
+	int width;
+	int height;
+	int bpp;
+	SDL_Surface *screen;
+	Uint32 *pixels;
+
+	Viewer(int b, int w, int h);
+	void sdl_init();
+	void run_init();
+
+};
+
+#endif