summaryrefslogtreecommitdiff
path: root/src/gui/window.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-14 13:50:25 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-14 13:50:25 +0000
commit976b4da70227ab97607c51be05a20f4ecfca9325 (patch)
treed77bfb869b6337f1747b34e8f053f3acddbc4b54 /src/gui/window.cpp
parent5a1007fa3e827c03bb86db71cb26dfd4c485f28d (diff)
downloadmana-976b4da70227ab97607c51be05a20f4ecfca9325.tar.gz
mana-976b4da70227ab97607c51be05a20f4ecfca9325.tar.bz2
mana-976b4da70227ab97607c51be05a20f4ecfca9325.tar.xz
mana-976b4da70227ab97607c51be05a20f4ecfca9325.zip
Removed 9 cases of load_bitmap.
Diffstat (limited to 'src/gui/window.cpp')
-rw-r--r--src/gui/window.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/window.cpp b/src/gui/window.cpp
index d69dae77..9c08df9c 100644
--- a/src/gui/window.cpp
+++ b/src/gui/window.cpp
@@ -50,9 +50,9 @@ Window::Window(const std::string& text, bool modal, Window *parent):
// Load dialog title bar image
ResourceManager *resman = ResourceManager::getInstance();
- dLeft = resman->createImage("Skin/dialogLeft.bmp");
- dMid = resman->createImage("Skin/dialogMiddle.bmp");
- dRight = resman->createImage("Skin/dialogRight.bmp");
+ dLeft = resman->getImage("Skin/dialogLeft.bmp");
+ dMid = resman->getImage("Skin/dialogMiddle.bmp");
+ dRight = resman->getImage("Skin/dialogRight.bmp");
// Register mouse listener
addMouseListener(this);