diff options
Diffstat (limited to 'src/simulation/Sign.h')
| -rw-r--r-- | src/simulation/Sign.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/simulation/Sign.h b/src/simulation/Sign.h index 1b8a68c..14b7dac 100644 --- a/src/simulation/Sign.h +++ b/src/simulation/Sign.h @@ -9,19 +9,18 @@ #ifndef The_Powder_Toy_Sign_h #define The_Powder_Toy_Sign_h +#include <string> + class sign { public: enum Justification { Left = 0, Centre = 1, Right = 2 }; - sign(std::string text_, int x_, int y_, Justification justification_): - text(text_), - x(x_), - y(y_), - ju(justification_) - {} + sign(std::string text_, int x_, int y_, Justification justification_); int x, y; Justification ju; std::string text; + + void pos(int & x0, int & y0, int & w, int & h); }; #endif |
