diff mde/gui/widget/Ifaces.d @ 112:fe061009029d

EnumContent; log level can be selected from a popup list. New EnumContent, with code to load translations in Items. Editable as an AStringContent. Hacked OptionsMisc to use an EnumContent. Implemented a EnumContentWidget providing a pop-up list to select from (still needs improving). Moved IContent to its own module. ContentExceptions thrown via WDCCheck now. Fixed a small bug with reloading translations.
author Diggory Hardy <diggory.hardy@gmail.com>
date Sat, 13 Dec 2008 12:54:43 +0000
parents 1655693702fc
children 9824bee909fd
line wrap: on
line diff
--- a/mde/gui/widget/Ifaces.d	Sat Dec 06 17:41:42 2008 +0000
+++ b/mde/gui/widget/Ifaces.d	Sat Dec 13 12:54:43 2008 +0000
@@ -25,7 +25,7 @@
 
 public import mde.gui.types;
 public import mde.gui.renderer.IRenderer;
-import mde.content.Content;
+import mde.content.IContent;
 
 
 /*************************************************************************************************
@@ -91,6 +91,7 @@
     
     /** Add/remove a pop-up [menu] to be drawn. */
     void addPopup (wdabs x, wdabs y, IChildWidget popup);
+    void removePopup (IChildWidget popup);	/// ditto
     
     // User input:
     /** Add a mouse click callback.