Mercurial > projects > mde
diff codeDoc/jobs.txt @ 174:3d58adc17d20
Temporary commit to allow backup
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Mon, 31 Aug 2009 13:54:23 +0200 |
parents | a1ba9157510e |
children | 1cbde9807293 |
line wrap: on
line diff
--- a/codeDoc/jobs.txt Sat Aug 08 15:53:10 2009 +0200 +++ b/codeDoc/jobs.txt Mon Aug 31 13:54:23 2009 +0200 @@ -24,12 +24,23 @@ 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. + +Undefined reference problem: (see ~/d/small/tests/compilerErrors/packageFunc.d) +Solution: access via a class base instead of an interface base. +Two ways to implement: + Leave IChildWidget an interface, but change stored refs to AChildWidget and cast references passed in functions before calling member functions. + Use AChildWidget directly or an abstract base class instead of IChildWidget, so that interfaced functions can pass the same type stored. +Making IChildWidget an abstact class seems to have partially solved it. But IPopupParentWidget (needs to be an interface), etc., still need some help. +Presumably setWidth is getting called from IChildWidget instead of AChildWidget now. ?? +More link errors with ldc. 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 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? 3 Dragging from anything other than AStringContentWidget.