mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
7b0ccd32e5
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. |
||
---|---|---|
.. | ||
SDL_msctf.h | ||
SDL_vkeys.h | ||
SDL_windowsclipboard.c | ||
SDL_windowsclipboard.h | ||
SDL_windowsevents.c | ||
SDL_windowsevents.h | ||
SDL_windowsframebuffer.c | ||
SDL_windowsframebuffer.h | ||
SDL_windowskeyboard.c | ||
SDL_windowskeyboard.h | ||
SDL_windowsmessagebox.c | ||
SDL_windowsmessagebox.h | ||
SDL_windowsmodes.c | ||
SDL_windowsmodes.h | ||
SDL_windowsmouse.c | ||
SDL_windowsmouse.h | ||
SDL_windowsopengl.c | ||
SDL_windowsopengl.h | ||
SDL_windowsopengles.c | ||
SDL_windowsopengles.h | ||
SDL_windowsshape.c | ||
SDL_windowsshape.h | ||
SDL_windowsvideo.c | ||
SDL_windowsvideo.h | ||
SDL_windowswindow.c | ||
SDL_windowswindow.h | ||
wmmsg.h |