Zhiyi Zhang : light.msstyles: Do not use transparent edges for trackbar horizontal and vertical thumb.

Alexandre Julliard julliard at winehq.org
Fri Feb 11 14:33:58 CST 2022


Module: wine
Branch: master
Commit: b96ec3bf4152999154be5f7e27859cfe2656e05f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b96ec3bf4152999154be5f7e27859cfe2656e05f

Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date:   Fri Feb 11 15:15:26 2022 +0800

light.msstyles: Do not use transparent edges for trackbar horizontal and vertical thumb.

Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 .../light.msstyles/blue_trackbar_thumb_horizontal.bmp | Bin 2418 -> 3918 bytes
 .../light.msstyles/blue_trackbar_thumb_horizontal.svg |  14 +++++++-------
 dlls/light.msstyles/blue_trackbar_thumb_vertical.bmp  | Bin 4758 -> 3658 bytes
 dlls/light.msstyles/blue_trackbar_thumb_vertical.svg  |  14 +++++++-------
 dlls/light.msstyles/light.rc                          |   4 ++--
 5 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/dlls/light.msstyles/blue_trackbar_thumb_horizontal.bmp b/dlls/light.msstyles/blue_trackbar_thumb_horizontal.bmp
index f3c8f55a9b2..5a548024b18 100644
Binary files a/dlls/light.msstyles/blue_trackbar_thumb_horizontal.bmp and b/dlls/light.msstyles/blue_trackbar_thumb_horizontal.bmp differ
diff --git a/dlls/light.msstyles/blue_trackbar_thumb_horizontal.svg b/dlls/light.msstyles/blue_trackbar_thumb_horizontal.svg
index d1063507dd0..4aa6c26b068 100644
--- a/dlls/light.msstyles/blue_trackbar_thumb_horizontal.svg
+++ b/dlls/light.msstyles/blue_trackbar_thumb_horizontal.svg
@@ -1,19 +1,19 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<svg id="bitmap:6-32" width="6" height="95" version="1.1" viewBox="0 0 1.5875 25.135" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+<svg id="bitmap:11-24" width="11" height="105" version="1.1" viewBox="0 0 2.9104 27.781" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <metadata>
   <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>
+ <rect y="-.00023066" width="2.9104" height="27.781" fill="#fdffff" stroke-linejoin="round" stroke-width=".070004"/>
  <g stroke-width=".26458">
-  <rect x=".39688" y=".13229" width=".79375" height="4.7625" rx=".52917" ry=".52917" fill="#fff" stroke="#aeaeae"/>
-  <rect x=".39688" y="5.1594" width=".79375" height="4.7625" rx=".52917" ry=".52917" fill="#fff" stroke="#3096fa"/>
-  <rect x=".39688" y="10.186" width=".79375" height="4.7625" rx=".52917" ry=".52917" fill="#2979ff" stroke="#2979ff"/>
-  <rect x=".39688" y="15.214" width=".79375" height="4.7625" rx=".52917" ry=".52917" fill="#fff" stroke="#aeaeae"/>
-  <rect x=".39688" y="20.241" width=".79375" height="4.7625" rx=".52917" ry=".52917" fill="#fff" stroke="#aeaeae"/>
+  <rect x=".13229" y=".13206" width="2.6458" height="5.2917" rx=".52917" ry=".52917" fill="#fff" stroke="#aeaeae"/>
+  <rect x=".13229" y="5.6883" width="2.6458" height="5.2917" rx=".52917" ry=".52917" fill="#fff" stroke="#3096fa"/>
+  <rect x=".13229" y="11.245" width="2.6458" height="5.2917" rx=".52917" ry=".52917" fill="#2979ff" stroke="#2979ff"/>
+  <rect x=".13229" y="16.801" width="2.6458" height="5.2917" rx=".52917" ry=".52917" fill="#fff" stroke="#aeaeae"/>
+  <rect x=".13229" y="22.357" width="2.6458" height="5.2917" rx=".52917" ry=".52917" fill="#fff" stroke="#aeaeae"/>
  </g>
 </svg>
diff --git a/dlls/light.msstyles/blue_trackbar_thumb_vertical.bmp b/dlls/light.msstyles/blue_trackbar_thumb_vertical.bmp
index b5c9d0f78a5..32315aa00da 100644
Binary files a/dlls/light.msstyles/blue_trackbar_thumb_vertical.bmp and b/dlls/light.msstyles/blue_trackbar_thumb_vertical.bmp differ
diff --git a/dlls/light.msstyles/blue_trackbar_thumb_vertical.svg b/dlls/light.msstyles/blue_trackbar_thumb_vertical.svg
index 0ea443d89ef..f15c9fd1baa 100644
--- a/dlls/light.msstyles/blue_trackbar_thumb_vertical.svg
+++ b/dlls/light.msstyles/blue_trackbar_thumb_vertical.svg
@@ -1,19 +1,19 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<svg id="bitmap:21-32" width="21" height="55" version="1.1" viewBox="0 0 5.5562 14.552" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+<svg id="bitmap:21-24" width="21" height="55" version="1.1" viewBox="0 0 5.5562 14.552" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <metadata>
   <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>
+ <rect x="-9.0909e-6" y="2.2204e-16" width="5.5562" height="14.552" fill="#fdffff" stroke-linejoin="round" stroke-width=".070003"/>
  <g stroke-width=".26458">
-  <rect x=".13229" y=".39688" width="5.2917" height="2.1167" rx=".52917" ry=".52917" fill="#fff" stroke="#aeaeae"/>
-  <rect x=".13229" y="3.3073" width="5.2917" height="2.1167" rx=".52917" ry=".52917" fill="#fff" stroke="#3096fa"/>
-  <rect x=".13229" y="6.2177" width="5.2917" height="2.1167" rx=".52917" ry=".52917" fill="#2979ff" stroke="#2979ff"/>
-  <rect x=".13229" y="9.1281" width="5.2917" height="2.1167" rx=".52917" ry=".52917" fill="#fff" stroke="#aeaeae"/>
-  <rect x=".13229" y="12.039" width="5.2917" height="2.1167" rx=".52917" ry=".52917" fill="#fff" stroke="#aeaeae"/>
+  <rect x=".13229" y=".13229" width="5.2916" height="2.6458" rx=".52916" ry=".52916" fill="#fff" stroke="#aeaeae"/>
+  <rect x=".13229" y="3.0427" width="5.2917" height="2.6458" rx=".52917" ry=".52916" fill="#fff" stroke="#3096fa"/>
+  <rect x=".13229" y="5.9531" width="5.2917" height="2.6458" rx=".52917" ry=".52916" fill="#2979ff" stroke="#2979ff"/>
+  <rect x=".13229" y="8.8635" width="5.2917" height="2.6458" rx=".52917" ry=".52916" fill="#fff" stroke="#aeaeae"/>
+  <rect x=".13229" y="11.774" width="5.2917" height="2.6458" rx=".52917" ry=".52916" fill="#fff" stroke="#aeaeae"/>
  </g>
 </svg>
diff --git a/dlls/light.msstyles/light.rc b/dlls/light.msstyles/light.rc
index 4b196716171..4596f0f0458 100644
--- a/dlls/light.msstyles/light.rc
+++ b/dlls/light.msstyles/light.rc
@@ -1091,13 +1091,13 @@ BLUE_INI TEXTFILE
 "ImageFile = blue_trackbar_thumb_horizontal.bmp\r\n"
 "ImageCount = 5\r\n"
 "ImageLayout = Vertical\r\n"
-"SizingMargins = 2, 3, 2, 3\r\n"
+"SizingMargins = 1, 1, 1, 1\r\n"
 "SizingType = Tile\r\n"
 
 "[TrackBar.ThumbVert]\r\n"
 "BgType = ImageFile\r\n"
 "ImageFile = blue_trackbar_thumb_vertical.bmp\r\n"
-"SizingMargins = 2, 3, 2, 3\r\n"
+"SizingMargins = 1, 1, 1, 1\r\n"
 "SizingType = Stretch\r\n"
 "ImageCount = 5\r\n"
 "ImageLayout = Vertical\r\n"




More information about the wine-cvs mailing list