diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-14 22:33:12 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-14 22:33:12 +0200 |
commit | c0f674098878b171ace1b0cf884507a611b21de2 (patch) | |
tree | 2a30487f384c3358e5e2f7e623def94b1d031a94 /src/graphics.cpp | |
parent | ff5dcb946d1efc9248a2f1b88015119d2f267b35 (diff) | |
download | mana-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.cpp | 4 |
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; } |