Mercurial > projects > mde
comparison 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 |
comparison
equal
deleted
inserted
replaced
107:20f7d813bb0f | 108:c9fc2d303178 |
---|---|
140 void relax (); /// ditto | 140 void relax (); /// ditto |
141 | 141 |
142 /** Draw a window border plus background. */ | 142 /** Draw a window border plus background. */ |
143 void drawWindow (Border* border, wdim x, wdim y, wdim w, wdim h); | 143 void drawWindow (Border* border, wdim x, wdim y, wdim w, wdim h); |
144 | 144 |
145 /** Draws a widget background. Usually doesn't do anything since backgrounds are transparent. */ | 145 /** Draws a widget background. Usually doesn't do anything since backgrounds are transparent. |
146 * | |
147 * It used to be required for all widgets to do this, but I lapsed since mostly it's unused. */ | |
146 void drawWidgetBack (wdim x, wdim y, wdim w, wdim h); | 148 void drawWidgetBack (wdim x, wdim y, wdim w, wdim h); |
147 | 149 |
148 /** Draws a blank widget (temporary) */ | 150 /** Draws a blank widget (temporary) */ |
149 void drawBlank (wdim x, wdim y, wdim w, wdim h); | 151 void drawBlank (wdim x, wdim y, wdim w, wdim h); |
150 | 152 |