diff mde/gui/widget/createWidget.d @ 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 052df9b2fe07
line wrap: on
line diff
--- a/mde/gui/widget/createWidget.d	Thu May 01 10:55:04 2008 +0100
+++ b/mde/gui/widget/createWidget.d	Fri May 02 16:03:52 2008 +0100
@@ -30,7 +30,7 @@
 
 /** Create a widget of type data[0] (see enum WIDGET_TYPES) for _window window, with initialisation
 * data [1..$]. */
-IWidget createWidget (IWindow window, IParentWidget parent, int[] data)
+IWidget createWidget (IWindow window, IWidget parent, int[] data)
 in {
     assert (window !is null, "createWidget: window is null");
     assert (parent !is null, "createWidget: parent is null");