From 7983b1cce3fb5831f7437ea689b951ac7cd9c5a3 Mon Sep 17 00:00:00 2001 From: Littleboy Date: Sun, 26 Jun 2011 19:51:52 -0400 Subject: BACKENDS: Add special Win32 path to set SDL window icon We bypass SDL_WM_SetIcon and setup the window icon using the embedded icon, with the default path as a fallback. This allows us to use an antialised icon with alpha transparency (which the default included icon doesn't have) on Windows XP and later --- backends/platform/sdl/win32/win32.h | 1 + 1 file changed, 1 insertion(+) (limited to 'backends/platform/sdl/win32/win32.h') diff --git a/backends/platform/sdl/win32/win32.h b/backends/platform/sdl/win32/win32.h index ef7b6af3f1..cc2fc51d36 100644 --- a/backends/platform/sdl/win32/win32.h +++ b/backends/platform/sdl/win32/win32.h @@ -46,6 +46,7 @@ protected: */ Common::String _logFilePath; + virtual void setupIcon(); virtual Common::String getDefaultConfigFileName(); virtual Common::WriteStream *createLogFile(); }; -- cgit v1.2.3