ole32: Specify cursor hotspots separately for each size.

This is supported in icoutils as of version 0.32.0.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2017-10-17 16:21:47 +02:00
parent 3dd6046d7c
commit 0a199813d9
4 changed files with 84 additions and 28 deletions

View File

@ -50,6 +50,27 @@
inkscape:window-y="27" inkscape:window-y="27"
inkscape:window-maximized="0" inkscape:window-maximized="0"
inkscape:current-layer="svg2" /> inkscape:current-layer="svg2" />
<rect
id="hotspot:64"
height="1"
width="1"
y="0"
x="0"
style="fill:none" />
<rect
id="hotspot:48"
height="1"
width="1"
y="0"
x="0"
style="fill:none" />
<rect
id="hotspot:32"
height="1"
width="1"
y="0"
x="0"
style="fill:none" />
<rect <rect
id="cursor:64-32" id="cursor:64-32"
height="64" height="64"
@ -71,13 +92,6 @@
y="32" y="32"
x="112" x="112"
style="fill:none" /> style="fill:none" />
<rect
id="hotspot"
height="1"
width="1"
y="0"
x="0"
style="fill:none" />
<g <g
style="display:inline;opacity:1" style="display:inline;opacity:1"
id="g6054" id="g6054"

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -50,6 +50,27 @@
inkscape:window-y="27" inkscape:window-y="27"
inkscape:window-maximized="0" inkscape:window-maximized="0"
inkscape:current-layer="svg2" /> inkscape:current-layer="svg2" />
<rect
id="hotspot:64"
height="1"
width="1"
y="0"
x="0"
style="fill:none" />
<rect
id="hotspot:48"
height="1"
width="1"
y="0"
x="0"
style="fill:none" />
<rect
id="hotspot:32"
height="1"
width="1"
y="0"
x="0"
style="fill:none" />
<rect <rect
id="cursor:64-32" id="cursor:64-32"
height="64" height="64"
@ -71,13 +92,6 @@
y="32" y="32"
x="112" x="112"
style="fill:none" /> style="fill:none" />
<rect
id="hotspot"
height="1"
width="1"
y="0"
x="0"
style="fill:none" />
<g <g
style="display:inline;opacity:1" style="display:inline;opacity:1"
id="g6054" id="g6054"

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -50,6 +50,27 @@
inkscape:window-y="8" inkscape:window-y="8"
inkscape:window-maximized="0" inkscape:window-maximized="0"
inkscape:current-layer="svg2" /> inkscape:current-layer="svg2" />
<rect
id="hotspot:64"
height="1"
width="1"
y="0"
x="0"
style="fill:none" />
<rect
id="hotspot:48"
height="1"
width="1"
y="0"
x="0"
style="fill:none" />
<rect
id="hotspot:32"
height="1"
width="1"
y="0"
x="0"
style="fill:none" />
<rect <rect
id="cursor:64-32" id="cursor:64-32"
height="64" height="64"
@ -71,13 +92,6 @@
y="32" y="32"
x="112" x="112"
style="fill:none" /> style="fill:none" />
<rect
id="hotspot"
height="1"
width="1"
y="0"
x="0"
style="fill:none" />
<g <g
style="display:inline;opacity:1" style="display:inline;opacity:1"
id="g6054" id="g6054"

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -50,6 +50,27 @@
inkscape:window-y="27" inkscape:window-y="27"
inkscape:window-maximized="0" inkscape:window-maximized="0"
inkscape:current-layer="svg2" /> inkscape:current-layer="svg2" />
<rect
id="hotspot:64"
height="1"
width="1"
y="0"
x="0"
style="fill:none" />
<rect
id="hotspot:48"
height="1"
width="1"
y="0"
x="0"
style="fill:none" />
<rect
id="hotspot;32"
height="1"
width="1"
y="0"
x="0"
style="fill:none" />
<rect <rect
id="cursor:64-32" id="cursor:64-32"
height="64" height="64"
@ -71,13 +92,6 @@
y="32" y="32"
x="112" x="112"
style="fill:none" /> style="fill:none" />
<rect
id="hotspot"
height="1"
width="1"
y="0"
x="0"
style="fill:none" />
<g <g
style="display:inline;opacity:1" style="display:inline;opacity:1"
id="g6054" id="g6054"

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB