summaryrefslogtreecommitdiff
path: root/src/interface
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-27 11:05:26 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-27 11:05:26 (GMT)
commit1c971e4b4210359e400511ad61b8e4eff2f7a79a (patch)
tree024dc6cbbb4d15095c5409cb77c5db05607e173c /src/interface
parentebd80c73de6b02e1fcf731aa0f377b6085128e57 (diff)
downloadpowder-1c971e4b4210359e400511ad61b8e4eff2f7a79a.zip
powder-1c971e4b4210359e400511ad61b8e4eff2f7a79a.tar.gz
Functional checkbox on render options screen
Diffstat (limited to 'src/interface')
-rw-r--r--src/interface/Checkbox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interface/Checkbox.h b/src/interface/Checkbox.h
index ed7dc95..8abbe1c 100644
--- a/src/interface/Checkbox.h
+++ b/src/interface/Checkbox.h
@@ -33,6 +33,8 @@ public:
virtual void OnMouseClick(int x, int y, unsigned int button);
virtual void OnMouseUp(int x, int y, unsigned int button);
void SetActionCallback(CheckboxAction * action);
+ CheckboxAction * GetActionCallback() { return actionCallback; }
+ bool IsChecked() { return checked; }
virtual ~Checkbox();
};
}