summaryrefslogtreecommitdiff
path: root/src/simulation/Sign.h
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-02-08 22:59:13 (GMT)
committer jacob1 <jfu614@gmail.com>2013-02-08 22:59:13 (GMT)
commitb8d53b5f7659f6b95f025a900d3b9982400dcc59 (patch)
tree5ed49a27dc5e764d852ba72ab69aafcb44baea9c /src/simulation/Sign.h
parent7ce34ad732dc22326dfbbde54b9cf46ec366c480 (diff)
downloadpowder-b8d53b5f7659f6b95f025a900d3b9982400dcc59.zip
powder-b8d53b5f7659f6b95f025a900d3b9982400dcc59.tar.gz
fix sign box size, sign width with {t} and {p}, and zoom box size
Diffstat (limited to 'src/simulation/Sign.h')
-rw-r--r--src/simulation/Sign.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/simulation/Sign.h b/src/simulation/Sign.h
index 14b7dac..1b45c25 100644
--- a/src/simulation/Sign.h
+++ b/src/simulation/Sign.h
@@ -11,6 +11,8 @@
#include <string>
+class Simulation;
+
class sign
{
public:
@@ -20,7 +22,8 @@ public:
Justification ju;
std::string text;
- void pos(int & x0, int & y0, int & w, int & h);
+ std::string getText(Simulation *sim);
+ void pos(std::string signText, int & x0, int & y0, int & w, int & h);
};
#endif