diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-21 21:47:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:15 +0300 |
commit | e1cacb5f675b782ba1cfee8906c78ec7793807c8 (patch) | |
tree | 2c4c1160d1034b451ad38b1c33537bed3510a397 /src/graphics.h | |
parent | a3082da9c7296bb18b7a6bc0424eb2a19d485ff6 (diff) | |
download | plus-e1cacb5f675b782ba1cfee8906c78ec7793807c8.tar.gz plus-e1cacb5f675b782ba1cfee8906c78ec7793807c8.tar.bz2 plus-e1cacb5f675b782ba1cfee8906c78ec7793807c8.tar.xz plus-e1cacb5f675b782ba1cfee8906c78ec7793807c8.zip |
rename target in graphics into window.
Diffstat (limited to 'src/graphics.h')
-rw-r--r-- | src/graphics.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/graphics.h b/src/graphics.h index 9365af4ec..c269dc540 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -25,6 +25,8 @@ #include "SDL.h" +#include "sdlshared.h" + #include <guichan/color.hpp> #include <guichan/graphics.hpp> @@ -102,11 +104,11 @@ class Graphics : public gcn::Graphics */ virtual ~Graphics(); - void setTarget(SDL_Surface *const target) - { mTarget = target; } + void setWindow(SDL_Window *const window) + { mWindow = window; } - SDL_Surface *getTarget() const - { return mTarget; } + SDL_Window *getWindow() const + { return mWindow; } /** * Sets whether vertical refresh syncing is enabled. Takes effect after @@ -384,7 +386,7 @@ class Graphics : public gcn::Graphics bool videoInfo(); - SDL_Surface* mTarget; + SDL_Window* mWindow; int mBpp; bool mAlpha; bool mFullscreen; |