Mercurial > projects > mde
comparison mde/menus.d @ 141:6f69a9c111eb
Fix for using BoolContentWidget in a menu. Made popups' widths match their parents under certain conditions.
Removed dummy testing menu items.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Sun, 08 Feb 2009 15:49:45 +0000 |
parents | 9f035cd139c6 |
children | 2934fcacbb97 |
comparison
equal
deleted
inserted
replaced
140:c94ec5594449 | 141:6f69a9c111eb |
---|---|
34 auto quit = new EventContent("menus.main.quit"); | 34 auto quit = new EventContent("menus.main.quit"); |
35 quit.addCallback ((Content){ | 35 quit.addCallback ((Content){ |
36 debug logger.trace ("Quit (from menu)"); | 36 debug logger.trace ("Quit (from menu)"); |
37 run = false; | 37 run = false; |
38 }); | 38 }); |
39 debug { | |
40 new EventContent ("menus.main.a"); | |
41 new EventContent ("menus.main.b"); | |
42 new EventContent ("menus.main.submenu.c"); | |
43 new EventContent ("menus.main.submenu.d"); | |
44 } | |
45 } | 39 } |