Alexandre Julliard : ole32: Specify cursor hotspots separately for each size.

Alexandre Julliard julliard at winehq.org
Tue Oct 17 15:12:10 CDT 2017


Module: wine
Branch: master
Commit: 0a199813d9f44adf279c26827f5afc3df8902b05
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0a199813d9f44adf279c26827f5afc3df8902b05

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Oct 17 16:21:47 2017 +0200

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 at winehq.org>

---

 dlls/ole32/drag_copy.svg | 28 +++++++++++++++++++++-------
 dlls/ole32/drag_link.svg | 28 +++++++++++++++++++++-------
 dlls/ole32/drag_move.svg | 28 +++++++++++++++++++++-------
 dlls/ole32/nodrop.svg    | 28 +++++++++++++++++++++-------
 4 files changed, 84 insertions(+), 28 deletions(-)

diff --git a/dlls/ole32/drag_copy.svg b/dlls/ole32/drag_copy.svg
index 42867cb..deb126f 100644
--- a/dlls/ole32/drag_copy.svg
+++ b/dlls/ole32/drag_copy.svg
@@ -51,6 +51,27 @@
      inkscape:window-maximized="0"
      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
      id="cursor:64-32"
      height="64"
      width="64"
@@ -71,13 +92,6 @@
      y="32"
      x="112"
      style="fill:none" />
-  <rect
-     id="hotspot"
-     height="1"
-     width="1"
-     y="0"
-     x="0"
-     style="fill:none" />
   <g
      style="display:inline;opacity:1"
      id="g6054"
diff --git a/dlls/ole32/drag_link.svg b/dlls/ole32/drag_link.svg
index 0b1dc7e..e8a1c0e 100644
--- a/dlls/ole32/drag_link.svg
+++ b/dlls/ole32/drag_link.svg
@@ -51,6 +51,27 @@
      inkscape:window-maximized="0"
      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
      id="cursor:64-32"
      height="64"
      width="64"
@@ -71,13 +92,6 @@
      y="32"
      x="112"
      style="fill:none" />
-  <rect
-     id="hotspot"
-     height="1"
-     width="1"
-     y="0"
-     x="0"
-     style="fill:none" />
   <g
      style="display:inline;opacity:1"
      id="g6054"
diff --git a/dlls/ole32/drag_move.svg b/dlls/ole32/drag_move.svg
index 2f2514b..66045e7 100644
--- a/dlls/ole32/drag_move.svg
+++ b/dlls/ole32/drag_move.svg
@@ -51,6 +51,27 @@
      inkscape:window-maximized="0"
      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
      id="cursor:64-32"
      height="64"
      width="64"
@@ -71,13 +92,6 @@
      y="32"
      x="112"
      style="fill:none" />
-  <rect
-     id="hotspot"
-     height="1"
-     width="1"
-     y="0"
-     x="0"
-     style="fill:none" />
   <g
      style="display:inline;opacity:1"
      id="g6054"
diff --git a/dlls/ole32/nodrop.svg b/dlls/ole32/nodrop.svg
index cb5a0f0..481a7b4 100644
--- a/dlls/ole32/nodrop.svg
+++ b/dlls/ole32/nodrop.svg
@@ -51,6 +51,27 @@
      inkscape:window-maximized="0"
      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
      id="cursor:64-32"
      height="64"
      width="64"
@@ -71,13 +92,6 @@
      y="32"
      x="112"
      style="fill:none" />
-  <rect
-     id="hotspot"
-     height="1"
-     width="1"
-     y="0"
-     x="0"
-     style="fill:none" />
   <g
      style="display:inline;opacity:1"
      id="g6054"




More information about the wine-cvs mailing list