sdl2_frt/src/video/windows
Sam Lantinga 7b0ccd32e5 Fixed bug 3405 - Wrong default icon size on windows systems
Evgeny Vrublevsky

Original code in the video/windows/SDL_windowsevents.c registers obsolete WNDCLASS (not WNDCLASSEX). As the result only one icon size is used as the small and normal icons. Also original code doesn't specify required size of an icon. As the result when 256x256 icon is available, the program uses it as a default icon, and it looks ugly.

We have to use WNDCLASSEX and load icons with proper sizes which we can get using GetSystemMetrics.

Better idea. We could use the first icon from resources, like the Explorer does. Patch is included. It also correctly loads large and small icons, so it will look nice everywhere.
2016-10-01 13:14:51 -07:00
..
SDL_msctf.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_vkeys.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowsclipboard.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowsclipboard.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowsevents.c Fixed bug 3405 - Wrong default icon size on windows systems 2016-10-01 13:14:51 -07:00
SDL_windowsevents.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowsframebuffer.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowsframebuffer.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowskeyboard.c Reset dead keys when the SDL window loses focus, so dead keys pressed in SDL applications don't affect text input into other applications. 2016-10-01 12:17:42 -07:00
SDL_windowskeyboard.h Reset dead keys when the SDL window loses focus, so dead keys pressed in SDL applications don't affect text input into other applications. 2016-10-01 12:17:42 -07:00
SDL_windowsmessagebox.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowsmessagebox.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowsmodes.c Windows: Fix other window positions/sizes being changed when exiting exclusive fullscreen (bug #3315, thanks Simon Hug!) 2016-05-23 15:29:25 -03:00
SDL_windowsmodes.h Added SDL_GetDisplayUsableBounds(). 2016-01-04 23:52:40 -05:00
SDL_windowsmouse.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowsmouse.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowsopengl.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowsopengl.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowsopengles.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowsopengles.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowsshape.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowsshape.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowsvideo.c Added SDL_SetWindowResizable(). (thanks, Ethan!) 2016-09-29 22:52:41 -04:00
SDL_windowsvideo.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowswindow.c Added SDL_SetWindowResizable(). (thanks, Ethan!) 2016-09-29 22:52:41 -04:00
SDL_windowswindow.h Added SDL_SetWindowResizable(). (thanks, Ethan!) 2016-09-29 22:52:41 -04:00
wmmsg.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00