Mercurial > projects > mde
comparison mde/gui/renderer/IRenderer.d @ 147:075705ad664a
Added a border widget.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Wed, 11 Feb 2009 13:02:30 +0000 |
parents | 2ac3e0012788 |
children |
comparison
equal
deleted
inserted
replaced
146:783969f4665c | 147:075705ad664a |
---|---|
159 * Restrict "pushes" a restriction onto a stack; relax must be called afterwards to "pop" the | 159 * Restrict "pushes" a restriction onto a stack; relax must be called afterwards to "pop" the |
160 * restriction. */ | 160 * restriction. */ |
161 void restrict (wdim x, wdim y, wdim w, wdim h); | 161 void restrict (wdim x, wdim y, wdim w, wdim h); |
162 void relax (); /// ditto | 162 void relax (); /// ditto |
163 | 163 |
164 /** Draw a window border plus background. */ | 164 /** Draw a border. */ |
165 void drawWindow (Border* border, wdim x, wdim y, wdim w, wdim h); | 165 void drawBorder (Border* border, wdim x, wdim y, wdim w, wdim h); |
166 | 166 |
167 /** Draw vertical and horizontal spacers. | 167 /** Draw vertical and horizontal spacers. |
168 * | 168 * |
169 * x,y and w,h are the position and size of the grid containing spacers. | 169 * x,y and w,h are the position and size of the grid containing spacers. |
170 * | 170 * |