Mercurial > projects > mde
comparison 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 |
comparison
equal
deleted
inserted
replaced
111:1655693702fc | 112:fe061009029d |
---|---|
46 return super.getSymbol ~ ".content"; | 46 return super.getSymbol ~ ".content"; |
47 } | 47 } |
48 this () { | 48 this () { |
49 super ("Unexpected content type"); | 49 super ("Unexpected content type"); |
50 } | 50 } |
51 this (Object o) { // Default, by Widget class's this / WDCCheck | |
52 super ("Unexpected content type for "~o.classinfo.name); | |
53 } | |
51 this (char[] msg) { | 54 this (char[] msg) { |
52 super (msg); | 55 super (msg); |
53 } | 56 } |
54 } | 57 } |
55 | 58 |