ref: 976e2425fc40f05e5e4424a46ad565ffc77bd233
parent: ad9e3c3e3bb922832474fce41efce772e3aabcb1
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Jan 21 06:27:32 EST 2020
Use native window/taskbar icons on Windows This used to be a feature before the accurate-portable split, I'm just restoring it. Previously, while the EXE itself had a unique icon, the window and taskbar both used the generic 'small' icon, which the original EXE only used for the window. SDL2 gives us a way to assign separate icons to each, but it's a little clunky: it's Windows-only, requires the icons be in .ico format, and needs them to be embedded in the EXE as resource files. Also, for some reason, SDL2 doesn't let us refer to them by name - we have to use their numerical ID.