summaryrefslogtreecommitdiff
path: root/src/interface/ProgressBar.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/ProgressBar.h
parente52e9ce91ccca13115fec0fdb0111e7e5d39d10d (diff)
downloadpowder-6e44ebc358d1206c147f514225373da07b43c015.zip
powder-6e44ebc358d1206c147f514225373da07b43c015.tar.gz
Checkbox, Slider and ProgressBar components for ui API
Diffstat (limited to 'src/interface/ProgressBar.h')
-rw-r--r--src/interface/ProgressBar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/interface/ProgressBar.h b/src/interface/ProgressBar.h
index 9d803cc..fc47f0c 100644
--- a/src/interface/ProgressBar.h
+++ b/src/interface/ProgressBar.h
@@ -10,9 +10,11 @@ namespace ui
float intermediatePos;
std::string progressStatus;
public:
- ProgressBar(Point position, Point size);
+ ProgressBar(Point position, Point size, int startProgress = 0, std::string startStatus = "");
virtual void SetProgress(int progress);
+ virtual int GetProgress();
virtual void SetStatus(std::string status);
+ virtual std::string GetStatus();
virtual void Draw(const Point & screenPos);
virtual void Tick(float dt);
};