Parent Directory
|
Revision Log
Initial revision
| 1 | bearsoft | 1.1 | #ifndef __SdlSetup_H__ |
| 2 | #define __SdlSetup_H__ | ||
| 3 | |||
| 4 | extern "C" { | ||
| 5 | #include "../../include/SDL.h" | ||
| 6 | } | ||
| 7 | |||
| 8 | class SdlSetup | ||
| 9 | { | ||
| 10 | |||
| 11 | public: | ||
| 12 | |||
| 13 | SdlSetup(); | ||
| 14 | ~SdlSetup(); | ||
| 15 | |||
| 16 | void setupScreen(); | ||
| 17 | void updateScreen(); | ||
| 18 | void quit(); | ||
| 19 | void events(); | ||
| 20 | bool getDone(); | ||
| 21 | int getMousex(); | ||
| 22 | int getMousey(); | ||
| 23 | |||
| 24 | private: | ||
| 25 | |||
| 26 | int mousex; | ||
| 27 | int mousey; | ||
| 28 | int mousebutton; | ||
| 29 | bool done; | ||
| 30 | int video_bpp; | ||
| 31 | int videoflags; | ||
| 32 | SDL_Surface *screen; | ||
| 33 | SDL_Event event; | ||
| 34 | |||
| 35 | |||
| 36 | }; | ||
| 37 | |||
| 38 | #endif |
| root@recompile.se | ViewVC Help |
| Powered by ViewVC 1.1.26 |