diff options
Diffstat (limited to 'include/base.h')
-rw-r--r-- | include/base.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/base.h b/include/base.h index 2607cf5..66e3172 100644 --- a/include/base.h +++ b/include/base.h @@ -5,6 +5,9 @@ #include <Exceptions.h> namespace mogltk { + struct rect { + int x, y, w, h; + }; class base : public Base { public: base(int w = 640, int h = 480, int flags = 0) throw(GeneralException); @@ -17,6 +20,7 @@ namespace mogltk { virtual void Leave2DMode(); virtual bool is2D(); virtual void changeviewport(int x = 0, int y = 0, unsigned int w = 0, unsigned int h = 0); + void ToggleFullscreen(); protected: base(int, int, int, int); void setsurface(SDL_Surface *) throw (GeneralException); |