Mercurial > projects > mde
diff mde/gui/renderer/IRenderer.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 | 42e241e7be3e |
children | 2a1428ec5344 |
line wrap: on
line diff
--- a/mde/gui/renderer/IRenderer.d Sun Nov 30 17:17:56 2008 +0000 +++ b/mde/gui/renderer/IRenderer.d Wed Dec 03 19:37:32 2008 +0000 @@ -142,7 +142,9 @@ /** Draw a window border plus background. */ void drawWindow (Border* border, wdim x, wdim y, wdim w, wdim h); - /** Draws a widget background. Usually doesn't do anything since backgrounds are transparent. */ + /** Draws a widget background. Usually doesn't do anything since backgrounds are transparent. + * + * It used to be required for all widgets to do this, but I lapsed since mostly it's unused. */ void drawWidgetBack (wdim x, wdim y, wdim w, wdim h); /** Draws a blank widget (temporary) */