Mercurial > projects > dynamin
diff dynamin/gui/container.d @ 56:c2566ab82535
Edit comments and fix a typo.
author | Jordan Miner <jminer7@gmail.com> |
---|---|
date | Sat, 08 Aug 2009 15:46:39 -0500 |
parents | c138461bf845 |
children | 1db4cb3abbb0 |
line wrap: on
line diff
--- a/dynamin/gui/container.d Sat Aug 08 15:42:27 2009 -0500 +++ b/dynamin/gui/container.d Sat Aug 08 15:46:39 2009 -0500 @@ -365,9 +365,6 @@ assert(i == 2); } -// TODO: calling panel.children.add(button) will cause a crash -// because the button's parent is not set to the panel -// need to add a change handler on children? class Panel : Container { ControlList children() { return _children; } void add(Control child) { super.add(child); }; @@ -378,7 +375,5 @@ int opApply(int delegate(inout uint index, inout Control item) dg) { return super.opApply(dg); } -// override protected void whenPainting() { -// } }