Mercurial > projects > mde
comparison mde/gui/widget/ParentContent.d @ 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 |
comparison
equal
deleted
inserted
replaced
174:3d58adc17d20 | 175:1cbde9807293 |
---|---|
24 import mde.gui.widget.AParentWidget; | 24 import mde.gui.widget.AParentWidget; |
25 import mde.gui.widget.layout; | 25 import mde.gui.widget.layout; |
26 import mde.content.AStringContent; | 26 import mde.content.AStringContent; |
27 import mde.gui.exception; | 27 import mde.gui.exception; |
28 | 28 |
29 debug { | |
30 import tango.util.log.Log : Log, Logger; | 29 import tango.util.log.Log : Log, Logger; |
31 private Logger logger; | 30 private Logger logger; |
32 static this () { | 31 static this () { |
33 logger = Log.getLogger ("mde.gui.widget.ParentContent"); | 32 logger = Log.getLogger ("mde.gui.widget.ParentContent"); |
34 } | 33 } |
35 } | |
36 | 34 |
37 /****************************************************************************** | 35 /****************************************************************************** |
38 * Widget which pops up a ContentListWidget created with its content. | 36 * Widget which pops up a ContentListWidget created with its content. |
39 * | 37 * |
40 * Is a button displaying a content string, just like DisplayContentWidget. | 38 * Is a button displaying a content string, just like DisplayContentWidget. |