diff examples/guiDemo.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 5b37d0400732
children 264028f4115a
line wrap: on
line diff
--- a/examples/guiDemo.d	Thu Jan 08 20:09:46 2009 +0000
+++ b/examples/guiDemo.d	Wed Jan 14 20:24:14 2009 +0000
@@ -45,7 +45,6 @@
     // Set up the gui
     scope WMScreen gui = new WMScreen ("guiDemo");
     StageState guiLoad () {   // init func
-        gui.init;
         gui.loadDesign();
         return StageState.ACTIVE;
     }