[PATCH 1/6] themes/light: Add Classic Blue visual style.

Alexandre Julliard julliard at winehq.org
Wed Jun 23 03:01:07 CDT 2021


Zhiyi Zhang <zzhang at codeweavers.com> writes:

> @@ -417,11 +417,22 @@ static const WCHAR *enum_load_path( unsigned int idx )
>  /* try to load a pre-compiled fake dll */
>  static void *load_fake_dll( const WCHAR *name, SIZE_T *size )
>  {
> +    static const struct
> +    {
> +        const WCHAR *suffix;
> +        const WCHAR *dir;
> +    }
> +    search_dirs[] =
> +    {
> +        {L".dll", L"\\dlls"},
> +        {L".exe", L"\\programs"},
> +        {L".msstyles", L"\\themes"},
> +    };

I don't think we need to add a new category of files. A .msstyles file
is just a dll, it can go into a dlls/light.msstyles directory.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list