summaryrefslogtreecommitdiff
path: root/src/resources/openglsdlimageloader.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-16 23:18:55 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-16 23:18:55 +0000
commitdc53baaaf65943c6768e3ad209129609334133e8 (patch)
treecfd4ba52d94e2f2238195addaa53f80f4013f36a /src/resources/openglsdlimageloader.cpp
parent35afca876ece89be5b282c73a200d0d3c5d27fe0 (diff)
downloadmana-dc53baaaf65943c6768e3ad209129609334133e8.tar.gz
mana-dc53baaaf65943c6768e3ad209129609334133e8.tar.bz2
mana-dc53baaaf65943c6768e3ad209129609334133e8.tar.xz
mana-dc53baaaf65943c6768e3ad209129609334133e8.zip
Subclassed ShopListBox from ListBox to get rid of some duplicated code, and
fixed a problem with scrolling to the current selection. Also aligned the text a bit better and put the price in parenthesis.
Diffstat (limited to 'src/resources/openglsdlimageloader.cpp')
-rw-r--r--src/resources/openglsdlimageloader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/openglsdlimageloader.cpp b/src/resources/openglsdlimageloader.cpp
index c7ddec74..5915fb49 100644
--- a/src/resources/openglsdlimageloader.cpp
+++ b/src/resources/openglsdlimageloader.cpp
@@ -29,7 +29,8 @@
#include "resourcemanager.h"
-SDL_Surface* OpenGLSDLImageLoader::loadSDLSurface(const std::string& filename)
+SDL_Surface*
+OpenGLSDLImageLoader::loadSDLSurface(const std::string &filename)
{
ResourceManager *resman = ResourceManager::getInstance();
return resman->loadSDLSurface(filename);