diff options
Diffstat (limited to 'includes/glbase.h')
-rw-r--r-- | includes/glbase.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/includes/glbase.h b/includes/glbase.h new file mode 100644 index 0000000..98fd537 --- /dev/null +++ b/includes/glbase.h @@ -0,0 +1,20 @@ +#ifndef __GLBASE_H__ +#define __GLBASE_H__ + +#include <SDL.h> +#include "Exceptions.h" + +namespace mogltk { + class glbase { + public: + static int setup(int w = 640, int h = 480, int flags = 0) throw(GeneralException); + static int GetWidth(void); + static int GetHeight(void); + static int GetInited(void); + private: + static int width, height, inited; + static SDL_Surface * surface; + }; +}; + +#endif |