summaryrefslogtreecommitdiff
path: root/src/utils/sdlhelper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-18 22:39:29 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-18 22:39:29 +0300
commit6419386c4c382753509425826ee609dd07d4ae72 (patch)
treef5f6d54f86a86a21a8145891797a561f5bb8e8d8 /src/utils/sdlhelper.h
parent78744020528ef6231e1606bbe2e8c53011c77935 (diff)
downloadmv-6419386c4c382753509425826ee609dd07d4ae72.tar.gz
mv-6419386c4c382753509425826ee609dd07d4ae72.tar.bz2
mv-6419386c4c382753509425826ee609dd07d4ae72.tar.xz
mv-6419386c4c382753509425826ee609dd07d4ae72.zip
add const to other files.
Diffstat (limited to 'src/utils/sdlhelper.h')
-rw-r--r--src/utils/sdlhelper.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/utils/sdlhelper.h b/src/utils/sdlhelper.h
index 70f266788..29d8241e3 100644
--- a/src/utils/sdlhelper.h
+++ b/src/utils/sdlhelper.h
@@ -38,23 +38,24 @@ namespace SDL
{
bool getAllVideoModes(StringVect &modeList);
- void SetWindowTitle(SDL_Surface *const window,
+ void SetWindowTitle(const SDL_Surface *const window,
const char *const title);
- void SetWindowIcon(SDL_Surface *const window A_UNUSED,
+ void SetWindowIcon(const SDL_Surface *const window A_UNUSED,
SDL_Surface *const icon);
- void grabInput(SDL_Surface *const window A_UNUSED, const bool grab);
+ void grabInput(const SDL_Surface *const window A_UNUSED, const bool grab);
- void setGamma(SDL_Surface *const window A_UNUSED, const float gamma);
+ void setGamma(const SDL_Surface *const window A_UNUSED, const float gamma);
void setVsync(const int val);
- bool getWindowWMInfo(SDL_Surface *const window A_UNUSED,
+ bool getWindowWMInfo(const SDL_Surface *const window A_UNUSED,
SDL_SysWMinfo *const info);
SDL_Thread *createThread(int (SDLCALL *fn)(void *),
- const char *name A_UNUSED, void *data);
+ const char *const name A_UNUSED,
+ void *const data);
} // namespace SDL
#endif // USE_SDL2