comparison mde/gui/content/options.d @ 95:2a364c7d82c9

Boolean options can be adjusted from the gui now (using a very basic widget). Also some bug-fixes. Fixed a minor bug where layouts with the same id but without shared alignments would be messed up. Tracked down the "nothing trawn until a resize" bug (see jobs.txt). If widgets throw during creation they're now replaced by debug widgets. Function pointers are converted to delegates using a safer method.
author Diggory Hardy <diggory.hardy@gmail.com>
date Thu, 06 Nov 2008 11:07:18 +0000
parents 9520cc0448e5
children
comparison
equal deleted inserted replaced
94:9520cc0448e5 95:2a364c7d82c9
23 import mde.gui.content.Content; 23 import mde.gui.content.Content;
24 24
25 import mde.lookup.Options; 25 import mde.lookup.Options;
26 import mde.lookup.Translation; 26 import mde.lookup.Translation;
27 27
28 debug { 28 import tango.util.log.Log : Log, Logger;
29 import tango.util.log.Log : Log, Logger; 29 private Logger logger;
30 private Logger logger; 30 static this () {
31 static this () { 31 logger = Log.getLogger ("mde.gui.content.options");
32 logger = Log.getLogger ("mde.gui.content.options");
33 }
34 } 32 }
35 33
36 class OptionList 34 class OptionList
37 { 35 {
38 this (char[] optsName) 36 this (char[] optsName)