Mercurial > projects > mde
diff codeDoc/jobs.txt @ 175:1cbde9807293
Compile/link-time fixes for ldc & non-debug builds.
Moved WidgetManager to widget/
Reverted IChildWidget to an interface, not an abstract class.
Introduced a work-around for a compiler problem. May not cover all cases.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Fri, 11 Sep 2009 20:56:53 +0200 |
parents | 3d58adc17d20 |
children | d5d5fe04ca6c |
line wrap: on
line diff
--- a/codeDoc/jobs.txt Mon Aug 31 13:54:23 2009 +0200 +++ b/codeDoc/jobs.txt Fri Sep 11 20:56:53 2009 +0200 @@ -26,14 +26,6 @@ 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):