[Wine] Alternative uxtheme.dll implementation for using the GTK+ rendering engine

Andrew Udvare
Tue, 30 Jun 2015 19:10:16 -0000

On 29/06/15 08:24, Ivan Akulinchev wrote:
> Hello,
>
> At the weekend I have wrote an alternative uxtheme.dll implementation
> and I want
> to share it with you.
>
> The idea was very simple. Most of the Windows applications use
> uxtheme.dll to
> draw their controls calling the functions like DrawThemeBackground. I
> noticed,
> GTK+ has a very similar interface (compare: gtk_render_background) and
> it would
> be nice to have a wrapper arround it.
>
> So I have got UxThemeGTK. There is still a lot of work, but you can test
> it now:
> https://github.com/akulinchev/uxthemegtk (see the screenshots at the
> bottom of
> the page). Pull requests are certainly welcomed!
>
> Regards,
>
> Ivan
>
> P.S. Shall I send a copy to wine-devel?
>

This is a really cool idea! However, I would like to see a uxthemeqt too
as I use KDE and it will fit a bit better.

Have you tried a Gtk+ app for Windows using this code? It seems a bit
strange it would be 'double-rendered' and it even seems prone to error
in that case, especially since such an app may have exceptions for the
Windows build.

Andrew