diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-25 21:30:47 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-25 21:30:47 +0100 |
commit | 65da3d5cd5c8cf40abc1e6d31b04eada615fe307 (patch) | |
tree | 70d570f181fddc5cddb7934b4735d2729ca44e11 /src/gui/button.cpp | |
parent | 1610ed4b3bc9ea3328087818da0af3f5852d1ff5 (diff) | |
download | mana-client-65da3d5cd5c8cf40abc1e6d31b04eada615fe307.tar.gz mana-client-65da3d5cd5c8cf40abc1e6d31b04eada615fe307.tar.bz2 mana-client-65da3d5cd5c8cf40abc1e6d31b04eada615fe307.tar.xz mana-client-65da3d5cd5c8cf40abc1e6d31b04eada615fe307.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 f49ae364..caf93b94 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]; |