Mercurial > projects > mde
comparison mde/gui/widget/AChildWidget.d @ 144:66c58e5b0062
Added a BoolContent-based collapsible widget.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Tue, 10 Feb 2009 12:57:09 +0000 |
parents | 6f69a9c111eb |
children | 783969f4665c |
comparison
equal
deleted
inserted
replaced
143:2ac3e0012788 | 144:66c58e5b0062 |
---|---|
48 this.parent = parent; | 48 this.parent = parent; |
49 this.id = id; | 49 this.id = id; |
50 } | 50 } |
51 | 51 |
52 // Widgets need to do their initialization either in this() or setup(). | 52 // Widgets need to do their initialization either in this() or setup(). |
53 override bool setup (uint,uint) { | 53 override bool setup (uint n,uint) { |
54 return false; | 54 return n == 0; |
55 } | 55 } |
56 | 56 |
57 // Don't save any data: fine for many widgets. | 57 // Don't save any data: fine for many widgets. |
58 override bool saveChanges () { | 58 override bool saveChanges () { |
59 return false; | 59 return false; |