Mercurial > projects > mde
diff codeDoc/gui/GUI notes.txt @ 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 | 6886402c1545 |
children | 23a1d2b1ec5f |
line wrap: on
line diff
--- a/codeDoc/gui/GUI notes.txt Thu May 01 10:55:04 2008 +0100 +++ b/codeDoc/gui/GUI notes.txt Fri May 02 16:03:52 2008 +0100 @@ -17,6 +17,12 @@ -> scripted widgets -> Text rendering -> text library? +-> Drag & drop + -> click/drag start triggers a callback on the widget + -> when button is released, callback: + -> finds release location + -> checks if this is a valid drop target + -> if so, acts on it