summaryrefslogtreecommitdiff
path: root/src/interface
diff options
context:
space:
mode:
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();
};
}