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/sdl2helper.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/utils/sdl2helper.h') diff --git a/src/utils/sdl2helper.h b/src/utils/sdl2helper.h index 101c965b8..bf3c57f0c 100644 --- a/src/utils/sdl2helper.h +++ b/src/utils/sdl2helper.h @@ -26,9 +26,17 @@ #include "localconsts.h" +struct SDL_Surface; +struct SDL_Window; + namespace SDL { bool getAllVideoModes(StringVect &modeList); + + void SetWindowTitle(SDL_Window *const window, const char *const title); + + void SetWindowIcon(SDL_Window *const window, SDL_Surface *const icon); + } // namespace SDL #endif // USE_SDL2 -- cgit v1.2.3-70-g09d2