Mercurial > projects > mde
diff mde/gui/renderer/SimpleRenderer.d @ 43:1530d9c04d4d
Column/row resizing implemented for GridLayoutWidget (finally)!
Also new exitImmediately option and a few debug scope(failure) log messages.
committer: Diggory Hardy <diggory.hardy@gmail.com>
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Thu, 15 May 2008 10:39:57 +0100 |
parents | b3a6ca4516b4 |
children | d43523ed4b62 |
line wrap: on
line diff
--- a/mde/gui/renderer/SimpleRenderer.d Wed May 14 12:31:09 2008 +0100 +++ b/mde/gui/renderer/SimpleRenderer.d Thu May 15 10:39:57 2008 +0100 @@ -93,6 +93,11 @@ void drawWidgetBack (int x, int y, int w, int h) {} + void drawBlank (int x, int y, int w, int h) { + gl.setColor (.4f, .4f, .4f); + gl.drawBox (x,y, w,h); + } + void drawButton (int x, int y, int w, int h, bool pushed) { if (pushed) gl.setColor (1f, 0f, 1f);