diff mde/gui/widget/miscContent.d @ 128:41582439a42b

Added support for dynamic EnumContent loading and saving, with translation loading. WMScreen.init removed; code moved to this() since class is now created by main() instead of a static this(). Fix for SwitchWidget not passing events. Still some resizing bugs evident in SwitchWidget :-(
author Diggory Hardy <diggory.hardy@gmail.com>
date Wed, 14 Jan 2009 20:24:14 +0000
parents c9843fbaac88
children ad91de8867a0
line wrap: on
line diff
--- a/mde/gui/widget/miscContent.d	Thu Jan 08 20:09:46 2009 +0000
+++ b/mde/gui/widget/miscContent.d	Wed Jan 14 20:24:14 2009 +0000
@@ -198,6 +198,10 @@
         currentW.setPosition (nx,ny);
     }
     
+    override IChildWidget getWidget (wdim cx, wdim cy) {
+        return currentW.getWidget (cx, cy);
+    }
+    
     override void draw () {
         currentW.draw;
     }