Mercurial > hg > Game > Cerium
annotate 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 |
rev | line source |
---|---|
90 | 1 #include <SDL.h> |
2 | |
3 #ifndef INCLUDED_VIEWER | |
4 #define INCLUDED_VIEWER | |
5 | |
6 #include "TaskManager.h" | |
7 | |
8 class Viewer { | |
9 public: | |
10 | |
11 int width; | |
12 int height; | |
13 int bpp; | |
14 SDL_Surface *screen; | |
15 Uint32 *pixels; | |
16 | |
17 Viewer(int b, int w, int h); | |
18 void sdl_init(); | |
19 void run_init(); | |
20 | |
21 }; | |
22 | |
23 #endif |