comparison mde/gui/widget/Ifaces.d @ 41:b3a6ca4516b4

The renderer now controls which parts of the window border allow resizing. committer: Diggory Hardy <diggory.hardy@gmail.com>
author Diggory Hardy <diggory.hardy@gmail.com>
date Tue, 13 May 2008 12:02:36 +0100
parents b28d7adc786b
children 0fd51d2c6c8a
comparison
equal deleted inserted replaced
40:b28d7adc786b 41:b3a6ca4516b4
36 IWidget makeWidget (widgetID i); 36 IWidget makeWidget (widgetID i);
37 37
38 /** Add widget's saveData to the data to be saved, returning it's widgetID. */ 38 /** Add widget's saveData to the data to be saved, returning it's widgetID. */
39 widgetID addCreationData (IWidget widget); 39 widgetID addCreationData (IWidget widget);
40 40
41 /** Get the managing Gui. */ 41 /** Returns the window's gui. */
42 //FIXME: remove and add requestRedraw to allow for only redrawing the window 42 //NOTE: was going to remove this, but it's used more than I thought
43 IGui gui (); 43 IGui gui ();
44
45 /** The widget/window needs redrawing. */
46 void requestRedraw ();
44 47
45 /** Get the window's renderer. 48 /** Get the window's renderer.
46 * 49 *
47 * Normally specific to the GUI, but widgets have no direct contact with the GUI and this 50 * Normally specific to the GUI, but widgets have no direct contact with the GUI and this
48 * provides the possibility of per-window renderers (if desired). */ 51 * provides the possibility of per-window renderers (if desired). */