summaryrefslogtreecommitdiff
path: root/src/interface
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-27 13:27:40 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-27 13:27:40 (GMT)
commit2a7628dfd0037fde1f504b276b262ebc9328df60 (patch)
tree2db9118d73490c738e3a77ac315fced408f34e05 /src/interface
parent1c971e4b4210359e400511ad61b8e4eff2f7a79a (diff)
downloadpowder-2a7628dfd0037fde1f504b276b262ebc9328df60.zip
powder-2a7628dfd0037fde1f504b276b262ebc9328df60.tar.gz
Render options
Diffstat (limited to 'src/interface')
-rw-r--r--src/interface/Checkbox.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interface/Checkbox.h b/src/interface/Checkbox.h
index 8abbe1c..ba96cc7 100644
--- a/src/interface/Checkbox.h
+++ b/src/interface/Checkbox.h
@@ -34,7 +34,8 @@ public:
virtual void OnMouseUp(int x, int y, unsigned int button);
void SetActionCallback(CheckboxAction * action);
CheckboxAction * GetActionCallback() { return actionCallback; }
- bool IsChecked() { return checked; }
+ bool GetChecked() { return checked; }
+ void SetChecked(bool checked_) { checked = checked_; }
virtual ~Checkbox();
};
}