diff mde/gui/widget/Ifaces.d @ 108:c9fc2d303178

Added capability for border-less pop-up widgets. Simple pop-up menu. Removed grid-layout spacing (may allow any widget to provide spacing later).
author Diggory Hardy <diggory.hardy@gmail.com>
date Wed, 03 Dec 2008 19:37:32 +0000
parents 08651e8a8c51
children 6acd96f8685f
line wrap: on
line diff
--- a/mde/gui/widget/Ifaces.d	Sun Nov 30 17:17:56 2008 +0000
+++ b/mde/gui/widget/Ifaces.d	Wed Dec 03 19:37:32 2008 +0000
@@ -89,6 +89,8 @@
     * provides the possibility of per-window renderers (if desired). */
     IRenderer renderer ();
     
+    /** Add/remove a pop-up [menu] to be drawn. */
+    void addPopup (wdabs x, wdabs y, IChildWidget popup);
     
     // User input:
     /** Add a mouse click callback.