summaryrefslogtreecommitdiff
path: root/includes/glbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/glbase.h')
-rw-r--r--includes/glbase.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/glbase.h b/includes/glbase.h
index 98fd537..78272eb 100644
--- a/includes/glbase.h
+++ b/includes/glbase.h
@@ -5,14 +5,16 @@
#include "Exceptions.h"
namespace mogltk {
- class glbase {
+ class glbase : public Base {
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);
+ static void Enter2DMode(void);
+ static void Leave2DMode(void);
private:
- static int width, height, inited;
+ static int width, height, inited, twoD;
static SDL_Surface * surface;
};
};