[PATCH] uxtheme: Resize source image if destination smaller than margins.
hellas at burntcomma.com
Tue Apr 14 16:12:01 CDT 2015
In DrawImageBackground, if the sizing margins are larger than the destination rect, Wine
overlays one of the margins with the other. This patch changes the behaviour so that in this
case it resizes both the source image and the margins proportionally, rather than
favouring one arbitrarily.
For an example of this, try rendering the Win7 Aero menubar background at a height of 20 - on
Windows it is still a smooth gradient, while on Wine it's all blocky.
dlls/uxtheme/draw.c | 34 ++++++++++++++++++++++++++++++++--
1 file changed, 32 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2343 bytes
Desc: not available
More information about the wine-patches