diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-23 13:17:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:16 +0300 |
commit | c6519e4cf281c2b9dade62c806647930868c4abc (patch) | |
tree | 771f9d1c5f3e118c5679c306c091945605c1b5b3 /src/utils/sdlhelper.h | |
parent | 37b4963329a6fb4dc39d8bbcb9fc8bd785e8a7e2 (diff) | |
download | manaverse-c6519e4cf281c2b9dade62c806647930868c4abc.tar.gz manaverse-c6519e4cf281c2b9dade62c806647930868c4abc.tar.bz2 manaverse-c6519e4cf281c2b9dade62c806647930868c4abc.tar.xz manaverse-c6519e4cf281c2b9dade62c806647930868c4abc.zip |
fix window title and icon in SDL2.
Diffstat (limited to 'src/utils/sdlhelper.h')
-rw-r--r-- | src/utils/sdlhelper.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/utils/sdlhelper.h b/src/utils/sdlhelper.h index f81cd449d..9d122f934 100644 --- a/src/utils/sdlhelper.h +++ b/src/utils/sdlhelper.h @@ -29,9 +29,18 @@ #include "localconsts.h" +struct SDL_Surface; + namespace SDL { bool getAllVideoModes(StringVect &modeList); + + void SetWindowTitle(SDL_Surface *const window, + const char *const title); + + void SetWindowIcon(SDL_Surface *const window A_UNUSED, + SDL_Surface *const icon); + } // namespace SDL #endif // USE_SDL2 |