Mercurial > projects > mde
diff codeDoc/jobs.txt @ 176:d5d5fe04ca6c
Fixes to CollapsibleWidget. Disabled AChildWidget.invariant.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Sat, 12 Sep 2009 09:14:43 +0200 |
parents | 1cbde9807293 |
children | af40e9679436 |
line wrap: on
line diff
--- a/codeDoc/jobs.txt Fri Sep 11 20:56:53 2009 +0200 +++ b/codeDoc/jobs.txt Sat Sep 12 09:14:43 2009 +0200 @@ -3,35 +3,19 @@ In progress: -Made context menus display again. -TODO: investigate why menu items don't show up. +Optional context menus don't always show/hide properly. Having setContent recusively call on subWidgets is not quite right: where the addContent function was used to pass a different content, the content should not be reset by a content() call propegated from a parent. Why is ServiceContent.opCall() called in addition to call from CollapsibleWidget? Why is ServiceContentList.opCall() not called? Probably because it's callbacks are never called. -Protection and invariants: - /** TODO: in progess - design of invariants - * - * Ideally this wants to be called after minXChange has finished, but not - * before/during. minXChange is called in 2 cases: - * recursively from a child - * from a change of content (setContent, keyEvent, content callbacks) - these can all be public - * - * So minXChange should not be public? But then the invariant is never called on - * parent widgets affected by the size change, including many parent widgets - * where invariants would be really useful. - */ -So make sure draw() and a few others are public, and invariants get called at these points. Thus a lot more must have at least package protection. - -Implement a RootWidget moving functionality out of AWidgetManager, etc., now, or later? -RequestRedraw becomes a function of the renderer. - To do (importance 0-5: 0 pointless, 1 no obvious impact now, 2 todo sometime, 3 useful, 4 important, 5 urgent): Also search for FIXME/NOTE/BUG/WARNING comment marks. 4 Move createWidget code out of WidgetManager. 4 GUI: up-clicks get passed as events and activate objects +3 RequestRedraw should become a function of the renderer. +3 Implement a RootWidget moving functionality out of AWidgetManager, etc., now, or later? 3 May be useful to make all widgets override draw() to ensure the invariant runs locally. 3 Closing menus when release-click is not on menu or parent (ordinary & context). 3 Dragging and dropping of editable data: should content immediately appear as being dragged?