comparison 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
comparison
equal deleted inserted replaced
33:6886402c1545 34:6b4116e6355c
15 ->* minimum size but expandable, auto-set 15 ->* minimum size but expandable, auto-set
16 -> no ability to resize yet except from config files 16 -> no ability to resize yet except from config files
17 -> scripted widgets 17 -> scripted widgets
18 -> Text rendering 18 -> Text rendering
19 -> text library? 19 -> text library?
20 -> Drag & drop
21 -> click/drag start triggers a callback on the widget
22 -> when button is released, callback:
23 -> finds release location
24 -> checks if this is a valid drop target
25 -> if so, acts on it
20 26
21 27
22 28
23 Notes: 29 Notes:
24 Some unifications of the coordinate system are needed: 30 Some unifications of the coordinate system are needed: