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.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/utils/sdl2helper.cpp') diff --git a/src/utils/sdl2helper.cpp b/src/utils/sdl2helper.cpp index 7cf624a2c..1ae8b087f 100644 --- a/src/utils/sdl2helper.cpp +++ b/src/utils/sdl2helper.cpp @@ -37,4 +37,14 @@ bool SDL::getAllVideoModes(StringVect &modeList) return true; } +void SDL::SetWindowTitle(SDL_Window *const window, const char *const title) +{ + SDL_SetWindowTitle(window, title); +} + +void SDL::SetWindowIcon(SDL_Window *const window, SDL_Surface *const icon) +{ + SDL_SetWindowIcon(window, icon); +} + #endif // USE_SDL2 -- cgit v1.2.3-60-g2f50