Mercurial > hg > Game > Cerium
annotate old/simple_render/test/LoadTexture/viewer.h @ 836:74fd8d2a7b9d draft
example fix 50%
author | tkaito |
---|---|
date | Tue, 25 May 2010 19:13:28 +0900 |
parents | 3bc98f6d31ff |
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 |