comparison 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
comparison
equal deleted inserted replaced
105:97997a544ac0 106:acdbb30fee7e
436 /// 436 ///
437 class Panel : Container { 437 class Panel : Container {
438 /// 438 ///
439 ControlList children() { return _children; } 439 ControlList children() { return _children; }
440 /// 440 ///
441 void add(Control child) { super.add(child); }; 441 override void add(Control child) { super.add(child); };
442 /// 442 ///
443 void remove(Control child) { super.remove(child); }; 443 override void remove(Control child) { super.remove(child); };
444 /// 444 ///
445 int opApply(int delegate(ref Control item) dg) { 445 override int opApply(int delegate(ref Control item) dg) {
446 return super.opApply(dg); 446 return super.opApply(dg);
447 } 447 }
448 /// 448 ///
449 int opApply(int delegate(ref uint index, ref Control item) dg) { 449 override int opApply(int delegate(ref uint index, ref Control item) dg) {
450 return super.opApply(dg); 450 return super.opApply(dg);
451 } 451 }
452 } 452 }
453 453