Mercurial > projects > dynamin
diff dynamin/gui/container.d @ 106:acdbb30fee7e
Port to D2.
Most of the effort was dealing with immutable and const.
author | Jordan Miner <jminer7@gmail.com> |
---|---|
date | Mon, 17 Dec 2012 23:41:50 -0600 |
parents | 5c8c1c2e12c0 |
children |
line wrap: on
line diff
--- a/dynamin/gui/container.d Sat Nov 24 10:21:50 2012 -0600 +++ b/dynamin/gui/container.d Mon Dec 17 23:41:50 2012 -0600 @@ -438,15 +438,15 @@ /// ControlList children() { return _children; } /// - void add(Control child) { super.add(child); }; + override void add(Control child) { super.add(child); }; /// - void remove(Control child) { super.remove(child); }; + override void remove(Control child) { super.remove(child); }; /// - int opApply(int delegate(ref Control item) dg) { + override int opApply(int delegate(ref Control item) dg) { return super.opApply(dg); } /// - int opApply(int delegate(ref uint index, ref Control item) dg) { + override int opApply(int delegate(ref uint index, ref Control item) dg) { return super.opApply(dg); } }