Mercurial > projects > mde
diff mde/gui/widget/Ifaces.d @ 129:ad91de8867a0
Added a widget size printing debug function. Fixed a bug in SwitchWidget.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Thu, 15 Jan 2009 16:52:46 +0000 |
parents | c9843fbaac88 |
children | c5c38eaadb64 |
line wrap: on
line diff
--- a/mde/gui/widget/Ifaces.d Wed Jan 14 20:24:14 2009 +0000 +++ b/mde/gui/widget/Ifaces.d Thu Jan 15 16:52:46 2009 +0000 @@ -309,4 +309,7 @@ * Maybe later enforce clipping of all sub-widget drawing, particularly for cases where only * part of the widget is visible: scroll bars or a hidden window. */ void draw (); + + /// Logs the current and minimal size of every widget. + debug void logWidgetSize (); }