From 6f594ad00a07365eec68e16d338151dde23bb648 Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 1 Dec 2005 13:48:12 +0000 Subject: 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) --- include/engine.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/engine.h') 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 #include #include -#include namespace mogltk { + class widget; class engine : public Base { public: class keyevent : public Base { @@ -98,4 +98,6 @@ namespace mogltk { }; }; +#include + #endif -- cgit v1.2.3