diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-05-14 19:47:14 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-05-14 19:47:14 (GMT) |
| commit | f39d2361e7e7ae13f84ab61920930847742b413a (patch) | |
| tree | 9dcdaadde02620ce00aaf460a9c7cd5e2c954770 /src/interface/Button.cpp | |
| parent | 4bb90d0d79d983c2f6d16af4575661b845a3d72f (diff) | |
| download | powder-f39d2361e7e7ae13f84ab61920930847742b413a.zip powder-f39d2361e7e7ae13f84ab61920930847742b413a.tar.gz | |
Improve appearance of some dialogues, style defaults
Diffstat (limited to 'src/interface/Button.cpp')
| -rw-r--r-- | src/interface/Button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/Button.cpp b/src/interface/Button.cpp index 3bf302b..5f3a12a 100644 --- a/src/interface/Button.cpp +++ b/src/interface/Button.cpp @@ -6,7 +6,6 @@ */ #include <iostream> - #include "interface/Button.h" #include "Graphics.h" #include "Engine.h" @@ -30,6 +29,7 @@ Button::Button(Point position, Point size, std::string buttonText): { activeText = background = Colour(0, 0, 0); text = activeBackground = border = activeBorder = Colour(255, 255, 255); + TextPosition(); } |
