comparison mde/gui/widget/AChildWidget.d @ 170:e45226d3deae

Context menu services not applicable to the current type can now be hidden. Added files missing from previous commits.
author Diggory Hardy <diggory.hardy@gmail.com>
date Mon, 29 Jun 2009 21:20:16 +0200
parents bc1cf73dc835
children 0dd49f333189
comparison
equal deleted inserted replaced
169:bc1cf73dc835 170:e45226d3deae
20 * 'I' convention for interfaces. 20 * 'I' convention for interfaces.
21 *****************************************************************************/ 21 *****************************************************************************/
22 module mde.gui.widget.AChildWidget; 22 module mde.gui.widget.AChildWidget;
23 23
24 public import mde.gui.widget.Ifaces; 24 public import mde.gui.widget.Ifaces;
25 import mde.content.Content; 25 import mde.content.IContent;
26 import mde.gui.exception; 26 import mde.gui.exception;
27 27
28 debug { 28 debug {
29 import tango.util.log.Log : Log, Logger; 29 import tango.util.log.Log : Log, Logger;
30 private Logger logger; 30 private Logger logger;
204 } 204 }
205 205
206 /** Hook this function to a Content callback to cause redraws. 206 /** Hook this function to a Content callback to cause redraws.
207 * 207 *
208 * mgr.requestRedraw could be hooked in directly if the prototype changed. */ 208 * mgr.requestRedraw could be hooked in directly if the prototype changed. */
209 void contentRedraw (Content) { 209 void contentRedraw (IContent) {
210 mgr.requestRedraw; 210 mgr.requestRedraw;
211 } 211 }
212 212
213 IWidgetManager mgr; // the enclosing window 213 IWidgetManager mgr; // the enclosing window
214 IParentWidget parent; // the parent widget 214 IParentWidget parent; // the parent widget