Mercurial > projects > dynamin
diff dynamin/gui/check_box.d @ 51:d5823ccfddc6
Add a couple doc comments.
author | Jordan Miner <jminer7@gmail.com> |
---|---|
date | Tue, 04 Aug 2009 20:59:38 -0500 |
parents | ccc108b25a0a |
children | 6580fabb7dce |
line wrap: on
line diff
--- a/dynamin/gui/check_box.d Tue Aug 04 20:41:43 2009 -0500 +++ b/dynamin/gui/check_box.d Tue Aug 04 20:59:38 2009 -0500 @@ -70,9 +70,11 @@ this(); this.text = text; } + /// Gets or sets whether this check box is checked. bool checked() { return _checkState == CheckState.Checked; } + /// ditto void checked(bool b) { _checkState = b ? CheckState.Checked : CheckState.Unchecked; repaint();