Mercurial > projects > mde
comparison mde/gui/widget/miscContent.d @ 128:41582439a42b
Added support for dynamic EnumContent loading and saving, with translation loading.
WMScreen.init removed; code moved to this() since class is now created by main() instead of a static this().
Fix for SwitchWidget not passing events. Still some resizing bugs evident in SwitchWidget :-(
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Wed, 14 Jan 2009 20:24:14 +0000 |
parents | c9843fbaac88 |
children | ad91de8867a0 |
comparison
equal
deleted
inserted
replaced
127:3328c6fb77ca | 128:41582439a42b |
---|---|
196 x = nx; | 196 x = nx; |
197 y = ny; | 197 y = ny; |
198 currentW.setPosition (nx,ny); | 198 currentW.setPosition (nx,ny); |
199 } | 199 } |
200 | 200 |
201 override IChildWidget getWidget (wdim cx, wdim cy) { | |
202 return currentW.getWidget (cx, cy); | |
203 } | |
204 | |
201 override void draw () { | 205 override void draw () { |
202 currentW.draw; | 206 currentW.draw; |
203 } | 207 } |
204 | 208 |
205 protected: | 209 protected: |