From c00cd54ca5ed959cbccff7aa7261fb5025d1832c Mon Sep 17 00:00:00 2001 From: pixel Date: Wed, 26 Mar 2003 14:07:43 +0000 Subject: bleh --- include/base.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 include/base.h (limited to 'include/base.h') diff --git a/include/base.h b/include/base.h new file mode 100644 index 0000000..65326bc --- /dev/null +++ b/include/base.h @@ -0,0 +1,25 @@ +#ifndef __BASE_H__ +#define __BASE_H__ + +#include +#include +#include + +namespace mogltk { + class base : public Base { + public: + base(int w = 640, int h = 480, int flags = 0) throw(GeneralException); + virtual ~base(); + int GetWidth(void); + int GetHeight(void); + virtual void Flip(void); + protected: + base(int, int, int, int); + void setsurface(SDL_Surface *) throw (GeneralException); + private: + int width, height; + SDL_Surface * surface; + }; +}; + +#endif -- cgit v1.2.3