comparison examples/guiDemo.d @ 117:aba2dd815a1f

Some tweaks to popup events and widgets. Moved gui.mtt to guiDemo.mtt Changed handling of clicks with popups. Made some of the popup widgets use usual from widget data construction.
author Diggory Hardy <diggory.hardy@gmail.com>
date Fri, 26 Dec 2008 12:07:38 +0000
parents ee209602770d
children 5b37d0400732
comparison
equal deleted inserted replaced
116:5ee69b3ed9c9 117:aba2dd815a1f
41 logger.info ("Compiled unittests have completed; terminating."); 41 logger.info ("Compiled unittests have completed; terminating.");
42 return 0; 42 return 0;
43 } 43 }
44 44
45 // Set up the gui 45 // Set up the gui
46 scope WidgetManager gui = new WidgetManager ("gui"); 46 scope WidgetManager gui = new WidgetManager ("guiDemo");
47 StageState guiLoad () { // init func 47 StageState guiLoad () { // init func
48 gui.init; 48 gui.init;
49 gui.loadDesign(); 49 gui.loadDesign();
50 return StageState.ACTIVE; 50 return StageState.ACTIVE;
51 } 51 }