summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-14 22:33:12 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-14 22:33:12 +0200
commitc0f674098878b171ace1b0cf884507a611b21de2 (patch)
tree2a30487f384c3358e5e2f7e623def94b1d031a94 /src/graphics.cpp
parentff5dcb946d1efc9248a2f1b88015119d2f267b35 (diff)
downloadmana-client-c0f674098878b171ace1b0cf884507a611b21de2.tar.gz
mana-client-c0f674098878b171ace1b0cf884507a611b21de2.tar.bz2
mana-client-c0f674098878b171ace1b0cf884507a611b21de2.tar.xz
mana-client-c0f674098878b171ace1b0cf884507a611b21de2.zip
Put the remaining unnamespaced handlers in a namespace
Also fixed some initialization order warnings when compiling with tmwserv support and made two getters const.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index 2fbf5e20..58f643e9 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -105,12 +105,12 @@ bool Graphics::setFullscreen(bool fs)
mScreen->format->BitsPerPixel, fs, mHWAccel);
}
-int Graphics::getWidth()
+int Graphics::getWidth() const
{
return mScreen->w;
}
-int Graphics::getHeight()
+int Graphics::getHeight() const
{
return mScreen->h;
}