summaryrefslogtreecommitdiff
path: root/include/base.h
diff options
context:
space:
mode:
authorpixel <pixel>2004-06-20 23:51:59 +0000
committerpixel <pixel>2004-06-20 23:51:59 +0000
commitbf452e7f6a3fa0e41964fc8e2c57e1e577cd1682 (patch)
treeda2c9b920514d4f7b853cf92ee4050720261dde6 /include/base.h
parentb009a6451b7560ba1e0064303deede287c381963 (diff)
Put some modifications in the overall. Font to texture doesn't work though.
Diffstat (limited to 'include/base.h')
-rw-r--r--include/base.h4
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);