summaryrefslogtreecommitdiff
path: root/src/gui/button.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-17 18:54:32 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-17 18:54:32 +0000
commit694e6e4148e19168f930406b13a3f63981341c05 (patch)
tree122603f02a0bc3bbd2515a40e54abaf620f3ece1 /src/gui/button.cpp
parent44a347ccc40bb4a42f03743f5e2401769da41289 (diff)
downloadmana-694e6e4148e19168f930406b13a3f63981341c05.tar.gz
mana-694e6e4148e19168f930406b13a3f63981341c05.tar.bz2
mana-694e6e4148e19168f930406b13a3f63981341c05.tar.xz
mana-694e6e4148e19168f930406b13a3f63981341c05.zip
Converted all GUI images to PNG
Diffstat (limited to 'src/gui/button.cpp')
-rw-r--r--src/gui/button.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/button.cpp b/src/gui/button.cpp
index 4474d6a4..71fac17e 100644
--- a/src/gui/button.cpp
+++ b/src/gui/button.cpp
@@ -31,10 +31,10 @@ Button::Button(const std::string& caption):
// Load the skin
ResourceManager *resman = ResourceManager::getInstance();
Image *btn[4];
- btn[0] = resman->getImage("core/graphics/gui/button.bmp");
- btn[1] = resman->getImage("core/graphics/gui/buttonhi.bmp");
- btn[2] = resman->getImage("core/graphics/gui/buttonpress.bmp");
- btn[3] = resman->getImage("core/graphics/gui/button_disabled.bmp");
+ btn[0] = resman->getImage("core/graphics/gui/button.png");
+ btn[1] = resman->getImage("core/graphics/gui/buttonhi.png");
+ btn[2] = resman->getImage("core/graphics/gui/buttonpress.png");
+ btn[3] = resman->getImage("core/graphics/gui/button_disabled.png");
int bgridx[4] = {0, 9, 16, 25};
int bgridy[4] = {0, 4, 19, 24};
int a, x, y;