Mercurial > hg > Members > kono > Cerium
annotate Renderer/Engine/ViewerDevice.h @ 966:7a7acecd0f8f
minor fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 07 Aug 2010 09:44:34 +0900 |
parents | bed529c55eda |
children | a193a851b5e3 |
rev | line source |
---|---|
728 | 1 #ifndef INCLUDED_VIEWER_DEV |
2 #define INCLUDED_VIEWER_DEV | |
3 | |
4 #include "TaskManager.h" | |
5 #include "SDL.h" | |
6 | |
7 class ViewerDevice { | |
8 public: | |
9 ViewerDevice(); | |
10 virtual ~ViewerDevice(); | |
11 | |
12 ViewerDevice(TaskManager *m) {}; | |
13 | |
895
bed529c55eda
add alignment of classes in SPU
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
728
diff
changeset
|
14 int width; |
bed529c55eda
add alignment of classes in SPU
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
728
diff
changeset
|
15 int height; |
bed529c55eda
add alignment of classes in SPU
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
728
diff
changeset
|
16 int bpp; |
bed529c55eda
add alignment of classes in SPU
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
728
diff
changeset
|
17 |
728 | 18 /* override function */ |
19 virtual Uint32 *video_init(TaskManager *manager, int bpp, int width, int height) = 0; | |
20 virtual void clean_pixels() = 0; | |
21 virtual void clear_screen() = 0; | |
22 virtual void free_device() = 0; | |
23 }; | |
24 | |
25 #endif |