From bf452e7f6a3fa0e41964fc8e2c57e1e577cd1682 Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 20 Jun 2004 23:51:59 +0000 Subject: Put some modifications in the overall. Font to texture doesn't work though. --- include/base.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/base.h') 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 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); -- cgit v1.2.3