summaryrefslogtreecommitdiff
path: root/src/interface/SaveButton.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-21 22:48:37 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-21 22:48:37 (GMT)
commitdea70befcf770a767f1cbeecdd149930f6d4c0b8 (patch)
treed7262fed954074b5f60b2a75307ff50c8038c25d /src/interface/SaveButton.h
parent984d39f8cc6e2fd54c1a1b4aa217334f04a5e479 (diff)
downloadpowder-dea70befcf770a767f1cbeecdd149930f6d4c0b8.zip
powder-dea70befcf770a767f1cbeecdd149930f6d4c0b8.tar.gz
Basic skeleton for save preview
Diffstat (limited to 'src/interface/SaveButton.h')
-rw-r--r--src/interface/SaveButton.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface/SaveButton.h b/src/interface/SaveButton.h
index 8019a3c..65cff52 100644
--- a/src/interface/SaveButton.h
+++ b/src/interface/SaveButton.h
@@ -39,6 +39,7 @@ public:
virtual void Draw(const Point& screenPos);
virtual void Tick(float dt);
+ Save * GetSave() { return save; }
inline bool GetState() { return state; }
virtual void DoAction();
void SetActionCallback(SaveButtonAction * action);