diff options
author | Littleboy | 2011-06-26 19:51:52 -0400 |
---|---|---|
committer | Littleboy | 2011-06-26 20:13:35 -0400 |
commit | 7983b1cce3fb5831f7437ea689b951ac7cd9c5a3 (patch) | |
tree | 67594162f38f4303ed568118a6f488c97fc6cf43 /dists | |
parent | f065b612a61c781285a5c3ad4c4473f4261607be (diff) | |
download | scummvm-rg350-7983b1cce3fb5831f7437ea689b951ac7cd9c5a3.tar.gz scummvm-rg350-7983b1cce3fb5831f7437ea689b951ac7cd9c5a3.tar.bz2 scummvm-rg350-7983b1cce3fb5831f7437ea689b951ac7cd9c5a3.zip |
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
Diffstat (limited to 'dists')
-rw-r--r-- | dists/scummvm.rc | 1 | ||||
-rw-r--r-- | dists/scummvm.rc.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/dists/scummvm.rc b/dists/scummvm.rc index 109437305c..d3330045b5 100644 --- a/dists/scummvm.rc +++ b/dists/scummvm.rc @@ -5,6 +5,7 @@ #endif #define FILE 256 +#define IDI_ICON 1001 IDI_ICON ICON DISCARDABLE "icons/scummvm.ico" diff --git a/dists/scummvm.rc.in b/dists/scummvm.rc.in index c043ce1644..8186e0e8ef 100644 --- a/dists/scummvm.rc.in +++ b/dists/scummvm.rc.in @@ -5,6 +5,7 @@ #endif #define FILE 256 +#define IDI_ICON 1001 IDI_ICON ICON DISCARDABLE "icons/scummvm.ico" |