comparison mde/gui/WidgetManager.d @ 115:1b1e2297e2fc

Enums handled more generically now via either a popup list or flat list of BoolContentWidgets. EnumContent is an IContentList with BoolContent sub-contents. Content modules moved around (again). ContentListWidget can now list horizontally. Log-level setting callback.
author Diggory Hardy <diggory.hardy@gmail.com>
date Sat, 20 Dec 2008 17:57:05 +0000
parents b16a534f5302
children 5ee69b3ed9c9
comparison
equal deleted inserted replaced
114:b16a534f5302 115:1b1e2297e2fc
297 IChildWidget highlighted; // NOTE: in some ways should be same as keyFocus 297 IChildWidget highlighted; // NOTE: in some ways should be same as keyFocus
298 } 298 }
299 299
300 300
301 import mde.gui.exception; 301 import mde.gui.exception;
302 import mde.content.Content; // AContent passed to a callback 302 import mde.content.Content; // Content passed to a callback
303 import mde.gui.widget.createWidget; 303 import mde.gui.widget.createWidget;
304 304
305 import mde.file.mergetag.Reader; 305 import mde.file.mergetag.Reader;
306 import mde.file.mergetag.Writer; 306 import mde.file.mergetag.Writer;
307 import mde.setup.paths; 307 import mde.setup.paths;
485 return data.keys; 485 return data.keys;
486 } 486 }
487 } 487 }
488 488
489 /** Called when translation strings have been reloaded. */ 489 /** Called when translation strings have been reloaded. */
490 void reloadStrings (AContent) { 490 void reloadStrings (Content) {
491 Items.loadTranslation; 491 Items.loadTranslation;
492 child.setup (++setupN, 2); 492 child.setup (++setupN, 2);
493 child.setWidth (w, -1); 493 child.setWidth (w, -1);
494 child.setHeight (h, -1); 494 child.setHeight (h, -1);
495 child.setPosition (0,0); 495 child.setPosition (0,0);