[PATCH v2] user32: Add the IDI_SHIELD icon resource.

Alexandre Julliard julliard at winehq.org
Thu Oct 19 01:48:44 CDT 2017


"Sergio Gómez Del Real" <sergio.g.delreal at gmail.com> writes:

> Applications such as Fidibo
> (https://bugs.winehq.org/show_bug.cgi?id=43770) ask for the IDI_SHIELD
> OEM resource, for example by calling comctl32.LoadIconMetric. Because
> the resource doesn't exist in user32, the function returns error and,
> in the specific case of Fidibo, the application crashes. This patch
> adds to user32.rc the appropriate lines and adds the file
> oic_shield.svg, from which oic_shield.ico will be generated.
>
> NOTE: Tango's public domain network-wireless-encrypted.svg file was
> used. Thanks to Alex Henrie for this.

To generate a proper icon, we'd need multiple scaled images for the
various sizes, and bitmaps for low-color resolutions, with the labels
expected by the buildimage script.  You can check how this is done in
oic_winlogo.svg.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list