From c6519e4cf281c2b9dade62c806647930868c4abc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 Aug 2013 13:17:28 +0300 Subject: fix window title and icon in SDL2. --- src/utils/sdlhelper.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/utils/sdlhelper.h') 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 -- cgit v1.2.3-60-g2f50