summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-01 03:25:45 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-01 03:25:45 +0300
commit5a35288a7524c6b5cb9a4e8e3aa93d756b016743 (patch)
treeb07dacc245cd0e8c900dc9b72ebc82aceccaf082 /src/test
parent9e755afa031f39172292aa82d3df42c1eaa01b03 (diff)
downloadmanaplus-5a35288a7524c6b5cb9a4e8e3aa93d756b016743.tar.gz
manaplus-5a35288a7524c6b5cb9a4e8e3aa93d756b016743.tar.bz2
manaplus-5a35288a7524c6b5cb9a4e8e3aa93d756b016743.tar.xz
manaplus-5a35288a7524c6b5cb9a4e8e3aa93d756b016743.zip
Fix arrow images load.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/testlauncher.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index 917b8eedb..215793243 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -82,7 +82,7 @@ int TestLauncher::exec()
int TestLauncher::testBackend() const
{
const Image *const img = Theme::getImageFromTheme(
- "graphics/sprites/arrow_up.gif");
+ "graphics/sprites/arrow_up.png");
if (!img)
return 1;
const int cnt = 100;
@@ -129,7 +129,7 @@ int TestLauncher::testFps()
Wallpaper::getWallpaper(800, 600);
Image *img[5];
- img[0] = Theme::getImageFromTheme("graphics/sprites/arrow_up.gif");
+ img[0] = Theme::getImageFromTheme("graphics/sprites/arrow_up.png");
img[1] = Theme::getImageFromTheme(
"graphics/gui/target-cursor-normal-l.png");
img[2] = Theme::getImageFromTheme("themes/wood/window.png");
@@ -190,8 +190,8 @@ int TestLauncher::testInternal()
"graphics/sprites/manaplus_emotions.png");
img[1] = Theme::getImageFromTheme(
"graphics/sprites/manaplus_emotions.png");
- img[2] = Theme::getImageFromTheme("graphics/sprites/arrow_left.gif");
- img[3] = Theme::getImageFromTheme("graphics/sprites/arrow_right.gif");
+ img[2] = Theme::getImageFromTheme("graphics/sprites/arrow_left.png");
+ img[3] = Theme::getImageFromTheme("graphics/sprites/arrow_right.png");
int idx = 0;
const int mem = mainGraphics->getMemoryUsage();