From c0f674098878b171ace1b0cf884507a611b21de2 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 14 Apr 2009 22:33:12 +0200 Subject: Put the remaining unnamespaced handlers in a namespace Also fixed some initialization order warnings when compiling with tmwserv support and made two getters const. --- src/graphics.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/graphics.h') 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 @@ -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; -- cgit v1.2.3-70-g09d2