summaryrefslogtreecommitdiff
path: root/include/engine.h
diff options
context:
space:
mode:
authorpixel <pixel>2005-12-01 13:48:12 +0000
committerpixel <pixel>2005-12-01 13:48:12 +0000
commit6f594ad00a07365eec68e16d338151dde23bb648 (patch)
tree07771966502e5b02c26f0f8414467d1dd78cd70b /include/engine.h
parentc492bb95a2bb8f739b7c0a061090b9ad4549c975 (diff)
Lots of fixes and adds in mogltk:
-) fixed a compilation bug in the engine.h file (widget cyclic dependancy) -) fixed font system so to have unsigned chars instead of chars -) updated the shaper system so to have different fonts to print -) updated the widgets with: -) new methods: center, set_viewport, delete_me -) Label now has a font -) MsgBox now has a font -) InputText widget added -) InputDialog message box added -) fixed a bug in the engine causing unwanted mouse move events -) fixed a bug in the various lists of widgets (.clear != .empty)
Diffstat (limited to 'include/engine.h')
-rw-r--r--include/engine.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/engine.h b/include/engine.h
index 73d12dd..9d597b2 100644
--- a/include/engine.h
+++ b/include/engine.h
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: engine.h,v 1.20 2004-11-27 21:48:01 pixel Exp $ */
+/* $Id: engine.h,v 1.21 2005-12-01 13:48:12 pixel Exp $ */
#ifndef __ENGINE_H__
#define __ENGINE_H__
@@ -27,9 +27,9 @@
#include <Exceptions.h>
#include <base.h>
#include <glbase.h>
-#include <widgets.h>
namespace mogltk {
+ class widget;
class engine : public Base {
public:
class keyevent : public Base {
@@ -98,4 +98,6 @@ namespace mogltk {
};
};
+#include <widgets.h>
+
#endif