Mercurial > projects > mde
diff mde/gui/exception.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 | 42e241e7be3e |
children | 9fd705793568 |
line wrap: on
line diff
--- a/mde/gui/exception.d Sat Dec 06 17:41:42 2008 +0000 +++ b/mde/gui/exception.d Sat Dec 13 12:54:43 2008 +0000 @@ -48,6 +48,9 @@ this () { super ("Unexpected content type"); } + this (Object o) { // Default, by Widget class's this / WDCCheck + super ("Unexpected content type for "~o.classinfo.name); + } this (char[] msg) { super (msg); }