Hi Stefan,

> look like your library seems to
> be a replacement for Wine's uxtheme.dll

Yes, it is. But I don't want to throw out Wine's uxtheme.dll, I think they could live together :-)

> I think this should
> be developed as a Windows theme that is loaded like any other Windows
> theme by our uxtheme.dll.

It's impossible. Uxtheme.dll loads themes without code execution:

/* from wine/dlls/uxtheme/system.c */
hTheme = LoadLibraryExW(lpThemeFile, NULL, LOAD_LIBRARY_AS_DATAFILE);

Regards,
Ivan

01.07.15 20:24, Stefan Dösinger пишет:
Hi,

Am 2015-06-30 um 23:39 schrieb Ivan Akulinchev:
> Here is the link: https://github.com/akulinchev/uxthemegtk (see
> the screenshots at the bottom of the page)
I like the idea, and the screenshots look really nice!

> If you want, I can help you to add it to the Wine code. If not, I
> will develop it alone as a third-party project
I think this is something that should be included in the Wine code.

- From the way your build instructions look like your library seems to
be a replacement for Wine's uxtheme.dll. I am not an expert on
theming, but I suspect this is the wrong approach. I think this should
be developed as a Windows theme that is loaded like any other Windows
theme by our uxtheme.dll. A user could then ideally select between no
theme, your gtk-based theme and native windows themes using winecfg
without replacing DLLs.