diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-26 20:13:57 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-26 20:13:57 +0000 |
commit | c1caa4d90e00cd248c05c43ace035c62ab470354 (patch) | |
tree | 6e7e189b2e70afd9145706fd14a05462af2f6680 | |
parent | 14c82e5b5d5547bcf9c3b06c68cf20a100600d0b (diff) | |
download | mana-client-c1caa4d90e00cd248c05c43ace035c62ab470354.tar.gz mana-client-c1caa4d90e00cd248c05c43ace035c62ab470354.tar.bz2 mana-client-c1caa4d90e00cd248c05c43ace035c62ab470354.tar.xz mana-client-c1caa4d90e00cd248c05c43ace035c62ab470354.zip |
Fixed incorrect button dimensions, as they mess OpenGL display with rectangle textures.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/gui/button.cpp | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2007-08-26 Guillaume Melquiond <guillaume.melquiond@gmail.com> + + * src/gui/button.cpp: Fixed incorrect button dimensions, as they mess + OpenGL display with rectangle textures. + 2007-08-25 Guillaume Melquiond <guillaume.melquiond@gmail.com> * configure.ac: Removed dependency on Guichan's OpenGL library. diff --git a/src/gui/button.cpp b/src/gui/button.cpp index eec2e4b2..4114d330 100644 --- a/src/gui/button.cpp +++ b/src/gui/button.cpp @@ -55,7 +55,7 @@ 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, 24} + {"graphics/gui/button_disabled.png", 25, 23} }; ImageRect Button::button[BUTTON_COUNT]; |