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.h | |
parent | ff5dcb946d1efc9248a2f1b88015119d2f267b35 (diff) | |
download | mana-c0f674098878b171ace1b0cf884507a611b21de2.tar.gz mana-c0f674098878b171ace1b0cf884507a611b21de2.tar.bz2 mana-c0f674098878b171ace1b0cf884507a611b21de2.tar.xz mana-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.h')
-rw-r--r-- | src/graphics.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/graphics.h b/src/graphics.h index 2b6ca60e..d0e70c24 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -19,8 +19,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _GRAPHICS_H -#define _GRAPHICS_H +#ifndef GRAPHICS_H +#define GRAPHICS_H #include <guichan/sdl/sdlgraphics.hpp> @@ -149,17 +149,17 @@ class Graphics : public gcn::SDLGraphics /** * Returns the width of the screen. */ - int getWidth(); + int getWidth() const; /** * Returns the height of the screen. */ - int getHeight(); + int getHeight() const; /** * Takes a screenshot and returns it as SDL surface. */ - virtual SDL_Surface* getScreenshot(); + virtual SDL_Surface *getScreenshot(); protected: SDL_Surface *mScreen; |