Alexandre Julliard : riched20: New high resolution cursor generated from SVG.

Alexandre Julliard julliard at winehq.org
Fri Jul 14 16:08:08 CDT 2017


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Jul 14 13:12:04 2017 +0200

riched20: New high resolution cursor generated from SVG.

Based on a cursor set published by Ludvig Hummel under the X11 license.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/riched20/Makefile.in     |   3 +
 dlls/riched20/ocr_reverse.cur | Bin 326 -> 33134 bytes
 dlls/riched20/ocr_reverse.svg | 189 ++++++++++++++++++++++++++++++++++++++++++
 dlls/riched20/version.rc      |   1 +
 4 files changed, 193 insertions(+)

diff --git a/dlls/riched20/Makefile.in b/dlls/riched20/Makefile.in
index be57b41..8f8aeee 100644
--- a/dlls/riched20/Makefile.in
+++ b/dlls/riched20/Makefile.in
@@ -28,3 +28,6 @@ RC_SRCS = version.rc
 
 IDL_SRCS = \
 	riched_tom.idl
+
+SVG_SRCS = \
+	ocr_reverse.svg
diff --git a/dlls/riched20/ocr_reverse.cur b/dlls/riched20/ocr_reverse.cur
index 179774c..f6b5ca2 100644
Binary files a/dlls/riched20/ocr_reverse.cur and b/dlls/riched20/ocr_reverse.cur differ
diff --git a/dlls/riched20/ocr_reverse.svg b/dlls/riched20/ocr_reverse.svg
new file mode 100644
index 0000000..a6a356a
--- /dev/null
+++ b/dlls/riched20/ocr_reverse.svg
@@ -0,0 +1,189 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   id="svg2"
+   height="64"
+   width="288"
+   version="1.1"
+   sodipodi:docname="ocr_reverse.svg"
+   inkscape:version="0.92.1 r15371">
+  <defs
+     id="defs5074" />
+  <metadata
+     id="metadata5130">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="1777"
+     inkscape:window-height="1091"
+     id="namedview5128"
+     showgrid="false"
+     inkscape:zoom="1"
+     inkscape:cx="-103.00001"
+     inkscape:cy="32.000011"
+     inkscape:window-x="43"
+     inkscape:window-y="27"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="svg2" />
+  <rect
+     id="cursor:64-32"
+     height="64"
+     width="64"
+     y="0"
+     x="0"
+     style="fill:none" />
+  <rect
+     id="cursor:48-32"
+     height="48"
+     width="48"
+     y="16"
+     x="64"
+     style="fill:none" />
+  <rect
+     id="cursor:32-32"
+     height="32"
+     width="32"
+     y="32"
+     x="112"
+     style="fill:none" />
+  <rect
+     id="hotspot"
+     height="1"
+     width="1"
+     y="0"
+     x="13"
+     style="fill:none" />
+  <g
+     id="g4928"
+     transform="matrix(1.9642525,0,0,1.9642525,-194.7906,458.0998)">
+    <path
+       sodipodi:type="inkscape:offset"
+       inkscape:radius="0"
+       inkscape:original="M 22.023438 743.13867 L 24.535156 762.16992 L 27.591797 756.31836 L 31.871094 763.69141 C 32.590378 764.93081 36.313733 762.69303 35.556641 761.47656 L 31.050781 754.23828 L 37.654297 754.2832 L 22.023438 743.13867 z "
+       xlink:href="#path7371"
+       style="display:inline;opacity:0.13600003;fill:#000000;stroke:#000000;stroke-width:1.40831447;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
+       id="path6044"
+       inkscape:href="#path7371"
+       d="m 22.023438,743.13867 2.511718,19.03125 3.056641,-5.85156 4.279297,7.37305 c 0.719284,1.2394 4.442639,-0.99838 3.685547,-2.21485 l -4.50586,-7.23828 6.603516,0.0449 z"
+       transform="matrix(-0.91499598,0.11480473,0.1150337,0.91682096,48.848195,-913.69159)" />
+    <path
+       style="display:inline;opacity:1;fill:#ffffff;stroke:#000000;stroke-width:1.39999998;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
+       inkscape:transform-center-y="-3.2019766"
+       d="m 99.867659,-220.50653 6.036251,-0.79869 -3.28917,7.15307 c -0.55281,1.20222 3.11,2.8265 3.62558,1.60767 l 3.06789,-7.25104 3.47063,5.01422 0.10905,-17.73718 z"
+       id="path6046-3"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="ccsscccc"
+       inkscape:transform-center-x="0.59406761" />
+  </g>
+  <g
+     transform="matrix(1.4731894,0,0,1.4731894,-82.09295,359.57486)"
+     id="g5495">
+    <path
+       transform="matrix(-0.91499598,0.11480473,0.1150337,0.91682096,48.848195,-913.69159)"
+       d="m 22.023438,743.13867 2.511718,19.03125 3.056641,-5.85156 4.279297,7.37305 c 0.719284,1.2394 4.442639,-0.99838 3.685547,-2.21485 l -4.50586,-7.23828 6.603516,0.0449 z"
+       inkscape:href="#path7371"
+       id="path5491"
+       style="display:inline;opacity:0.13600003;fill:#000000;stroke:#000000;stroke-width:1.40831447;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
+       xlink:href="#path7371"
+       inkscape:original="M 22.023438 743.13867 L 24.535156 762.16992 L 27.591797 756.31836 L 31.871094 763.69141 C 32.590378 764.93081 36.313733 762.69303 35.556641 761.47656 L 31.050781 754.23828 L 37.654297 754.2832 L 22.023438 743.13867 z "
+       inkscape:radius="0"
+       sodipodi:type="inkscape:offset" />
+    <path
+       inkscape:transform-center-x="0.59406761"
+       sodipodi:nodetypes="ccsscccc"
+       inkscape:connector-curvature="0"
+       id="path5493"
+       d="m 99.867659,-220.50653 6.036251,-0.79869 -3.28917,7.15307 c -0.55281,1.20222 3.11,2.8265 3.62558,1.60767 l 3.06789,-7.25104 3.47063,5.01422 0.10905,-17.73718 z"
+       inkscape:transform-center-y="-3.2019766"
+       style="display:inline;opacity:1;fill:#ffffff;stroke:#000000;stroke-width:1.39999998;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none" />
+  </g>
+  <g
+     transform="matrix(0.98212626,0,0,0.98212626,14.604701,261.0499)"
+     id="g5501">
+    <path
+       transform="matrix(-0.91499598,0.11480473,0.1150337,0.91682096,48.848195,-913.69159)"
+       d="m 22.023438,743.13867 2.511718,19.03125 3.056641,-5.85156 4.279297,7.37305 c 0.719284,1.2394 4.442639,-0.99838 3.685547,-2.21485 l -4.50586,-7.23828 6.603516,0.0449 z"
+       inkscape:href="#path7371"
+       id="path5497"
+       style="display:inline;opacity:0.13600003;fill:#000000;stroke:#000000;stroke-width:1.40831447;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
+       xlink:href="#path7371"
+       inkscape:original="M 22.023438 743.13867 L 24.535156 762.16992 L 27.591797 756.31836 L 31.871094 763.69141 C 32.590378 764.93081 36.313733 762.69303 35.556641 761.47656 L 31.050781 754.23828 L 37.654297 754.2832 L 22.023438 743.13867 z "
+       inkscape:radius="0"
+       sodipodi:type="inkscape:offset" />
+    <path
+       inkscape:transform-center-x="0.59406761"
+       sodipodi:nodetypes="ccsscccc"
+       inkscape:connector-curvature="0"
+       id="path5499"
+       d="m 99.867659,-220.50653 6.036251,-0.79869 -3.28917,7.15307 c -0.55281,1.20222 3.11,2.8265 3.62558,1.60767 l 3.06789,-7.25104 3.47063,5.01422 0.10905,-17.73718 z"
+       inkscape:transform-center-y="-3.2019766"
+       style="display:inline;opacity:1;fill:#ffffff;stroke:#000000;stroke-width:1.39999998;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none" />
+  </g>
+  <image
+     y="0"
+     x="144"
+     id="cursor:64-1"
+     xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAQAAAAAYLlVAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAA
+DsQAAA7EAZUrDhsAAAAHdElNRQfhBwoQMzriEEEBAAAA8UlEQVRo3u2XQRLEIAgEhdr/f9m9bWJW
+I1jMcGFOuaS6gZTB1s7SW1A0F38mEIg/EQjF+wWC8V6BcLxPAID3CHSMhebirQIdNwPNxVsEoPi9
+ABi/E4Dj3wUI+DcBCn4tQMKvBGj4uQARPxOg4v8FyPinAB0/CiTg7wIp+EsgCd/aZ+QKegObdmBB
+EpIAv+uPEcjqLOxDN7IWkt8whCjQ55+gZHVAoApqrR+loMb65Xog/A2ZB4Ma64cpqH3+GAV11A9R
+UFf9AAV11h+uoIfvCUxA9vWHRmZLKXMpkNW9gLWTyMvVjLMSVSqVSqVSqVSy8wXPKj881pbRsAAA
+AABJRU5ErkJggg==
+"
+     preserveAspectRatio="none"
+     height="64"
+     width="64" />
+  <image
+     y="16"
+     x="208"
+     id="cursor:48-1"
+     xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAA
+DsQAAA7EAZUrDhsAAAAHdElNRQfhBwoQNQx78HMeAAAAsElEQVRYw+2UOw7EMAgFedbe/8qkiKL4
+m0TroeM17mbANph9iZvbnymf8Bspsfh3wSb+TeD7jhKLfxIg+LUAwq8EGH4uAPEzAYofBTC+F+D4
+VhCArwUh+FsQhL8EYXiz300Wt0KbDmIKrzpQ/1EvowJ2UUdUxKrwBi5+0PqI7aCt/zxETvJQvNA3
+8Nm1CFwVi8sX1IGveQK/6QIpQCBsuOaVOTzCQwd06ZlMJpPJVDkAHLAuLKz26WIAAAAASUVORK5C
+YII=
+"
+     preserveAspectRatio="none"
+     height="48"
+     width="48" />
+  <image
+     y="32"
+     x="256"
+     id="cursor:32-1"
+     xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAA
+DsQAAA7EAZUrDhsAAAAHdElNRQfhBwoQNjhxadRoAAAAeElEQVRIx+2Tyw6AIAwEdxv//5frgRiq
+UkOXo8x9hlcBMhyOCSzVJ7FM94VAQR8FSvo7UNSfgbJ+Dwh6DEh6D4j6FZD1FljQgaO5rE5wCLBf
+Y9MpDlKwqM2BB5nKM4YNcD5ho/UrW3j/RtYSFj2OU58QyRk2m59xAqonIRyk5cnGAAAAAElFTkSu
+QmCC
+"
+     preserveAspectRatio="none"
+     height="32"
+     width="32" />
+</svg>
diff --git a/dlls/riched20/version.rc b/dlls/riched20/version.rc
index ff2a2ba..4674371 100644
--- a/dlls/riched20/version.rc
+++ b/dlls/riched20/version.rc
@@ -27,4 +27,5 @@
 
 #include "res.h"
 
+/* @makedep: ocr_reverse.cur */
 OCR_REVERSE CURSOR ocr_reverse.cur




More information about the wine-cvs mailing list