diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-25 21:30:47 +0100 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-25 17:35:59 -0700 |
commit | 537d390ae65e9b8a2701c04baa22962f7db0f093 (patch) | |
tree | 10a14a57ca6d61e4660cf68c15ea68652d81bc41 /src/gui/button.cpp | |
parent | edd500dd27bb648840abfe1cecb0767d7b2ba3ae (diff) | |
download | mana-client-537d390ae65e9b8a2701c04baa22962f7db0f093.tar.gz mana-client-537d390ae65e9b8a2701c04baa22962f7db0f093.tar.bz2 mana-client-537d390ae65e9b8a2701c04baa22962f7db0f093.tar.xz mana-client-537d390ae65e9b8a2701c04baa22962f7db0f093.zip |
Made the labels on the progress bars more readable
Diffstat (limited to 'src/gui/button.cpp')
-rw-r--r-- | src/gui/button.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/button.cpp b/src/gui/button.cpp index 04b96810..9b624015 100644 --- a/src/gui/button.cpp +++ b/src/gui/button.cpp @@ -19,12 +19,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include <algorithm> - -#include <guichan/exception.hpp> -#include <guichan/graphics.hpp> -#include <guichan/imagefont.hpp> - #include "button.h" #include "../graphics.h" @@ -34,6 +28,12 @@ #include "../utils/dtor.h" +#include <guichan/exception.hpp> +#include <guichan/graphics.hpp> +#include <guichan/font.hpp> + +#include <algorithm> + int Button::mInstances = 0; enum{ @@ -52,10 +52,10 @@ struct ButtonData }; static ButtonData const data[BUTTON_COUNT] = { - {"graphics/gui/button.png", 0, 0}, - {"graphics/gui/buttonhi.png", 9, 4}, - {"graphics/gui/buttonpress.png", 16, 19}, - {"graphics/gui/button_disabled.png", 25, 23} + { "graphics/gui/button.png", 0, 0 }, + { "graphics/gui/buttonhi.png", 9, 4 }, + { "graphics/gui/buttonpress.png", 16, 19 }, + { "graphics/gui/button_disabled.png", 25, 23 } }; ImageRect Button::button[BUTTON_COUNT]; |