summaryrefslogtreecommitdiff
path: root/src/interface/Checkbox.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-09-17 11:20:58 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-09-17 11:20:58 (GMT)
commit6e44ebc358d1206c147f514225373da07b43c015 (patch)
tree35e97c28991c4aff46a9e5a4182b53dedb26e7ee /src/interface/Checkbox.h
parente52e9ce91ccca13115fec0fdb0111e7e5d39d10d (diff)
downloadpowder-6e44ebc358d1206c147f514225373da07b43c015.zip
powder-6e44ebc358d1206c147f514225373da07b43c015.tar.gz
Checkbox, Slider and ProgressBar components for ui API
Diffstat (limited to 'src/interface/Checkbox.h')
-rw-r--r--src/interface/Checkbox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface/Checkbox.h b/src/interface/Checkbox.h
index ba96cc7..f9d305c 100644
--- a/src/interface/Checkbox.h
+++ b/src/interface/Checkbox.h
@@ -27,6 +27,7 @@ class Checkbox: public ui::Component {
public:
Checkbox(ui::Point position, ui::Point size, std::string text);
void SetText(std::string text);
+ std::string GetText();
void Draw(const Point& screenPos);
virtual void OnMouseEnter(int x, int y);
virtual void OnMouseLeave(int x, int y);