diff data/conf/gui.mtt @ 34:6b4116e6355c

Work on the Gui: some of the framework for drag & drop. Also made Window an IWidget. Implemented getWidget(x,y) to find the widget under this location for IWidgets (but not Gui). Made Window an IWidget and made it work a little more similarly to widgets. Implemented callbacks on the Gui for mouse events (enabling drag & drop, etc.). committer: Diggory Hardy <diggory.hardy@gmail.com>
author Diggory Hardy <diggory.hardy@gmail.com>
date Fri, 02 May 2008 16:03:52 +0100
parents 316b0230a849
children 57d000574d75
line wrap: on
line diff
--- a/data/conf/gui.mtt	Thu May 01 10:55:04 2008 +0100
+++ b/data/conf/gui.mtt	Fri May 02 16:03:52 2008 +0100
@@ -1,10 +1,10 @@
 {MT01}
 <char[]|Renderer="Simple">
 {W1}
-<int|x=0>
-<int|y=0>
+<int|x=30>
+<int|y=80>
 <int[][int]|widgetData=[0:[1003,200,200]]>
 {W2}
 <int|x=150>
 <int|y=200>
-<int[][int]|widgetData=[0:[1002,3,2,2,2,3,3,2,5],2:[1001,150,150],3:[1003,150,150],5:[1002,2,2,6,6,6,6],6:[1003,73,73]]>
+<int[][int]|widgetData=[0:[1002,1,3,2,3,5],2:[1001,150,150],3:[1003,150,150],5:[1002,2,1,6,7],6:[1003,73,73],7:[1003,73,73]]>