light.msstyles: Add Scroll Bar gripper HiDPI images.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2021-08-23 12:08:34 +08:00 committed by Alexandre Julliard
parent db4604b4d5
commit 0a82fe4cfe
16 changed files with 216 additions and 8 deletions

View File

@ -42,7 +42,13 @@ SVG_SRCS = \
blue_scrollbar_arrow_glyphs_7px.svg \
blue_scrollbar_arrow_glyphs_9px.svg \
blue_scrollbar_arrows.svg \
blue_scrollbar_resizebox_grip.svg \
blue_scrollbar_resizebox_grip_16px.svg \
blue_scrollbar_resizebox_grip_20px.svg \
blue_scrollbar_resizebox_grip_24px.svg \
blue_scrollbar_resizebox_grip_28px.svg \
blue_scrollbar_resizebox_grip_32px.svg \
blue_scrollbar_resizebox_grip_36px.svg \
blue_scrollbar_resizebox_grip_40px.svg \
blue_scrollbar_shaft_horizontal.svg \
blue_scrollbar_shaft_vertical.svg \
blue_scrollbar_thumb_horizontal.svg \

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:32-32" width="32" height="17" version="1.1" viewBox="0 0 8.4667 4.4979" 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:32-32" width="32" height="16" version="1.1" viewBox="0 0 8.4667 4.2333" 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="">
@ -9,7 +9,7 @@
</cc:Work>
</rdf:RDF>
</metadata>
<g fill="#bdbdbd" stroke-width="0">
<g transform="translate(0 -.26463)" fill="#bdbdbd" stroke-width="0">
<rect x="3.4396" y="3.7042" width=".52917" height=".52917"/>
<rect x="2.6458" y="3.7042" width=".52917" height=".52917"/>
<rect x="1.8521" y="3.7042" width=".52917" height=".52917"/>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:40-32" width="40" height="20" version="1.1" viewBox="0 0 10.583 5.2916" 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>
<g transform="translate(0 -.26463)" fill="#bdbdbd" stroke-width="0">
<rect x="4.2333" y="4.4979" width=".52917" height=".52917"/>
<rect x="3.175" y="4.4979" width=".52917" height=".52917"/>
<rect x="2.1167" y="4.4979" width=".52917" height=".52917"/>
<rect x="3.175" y="3.4396" width=".52917" height=".52917"/>
<rect x="4.2333" y="3.4396" width=".52917" height=".52917"/>
<rect x="4.2333" y="2.3813" width=".52917" height=".52917"/>
<rect x="5.8209" y="2.3813" width=".52917" height=".52917"/>
<rect x="6.8792" y="4.4979" width=".52917" height=".52917"/>
<rect x="5.8209" y="4.498" width=".52917" height=".52917"/>
<rect x="5.8209" y="3.4396" width=".52917" height=".52917"/>
<rect x="6.8792" y="3.4396" width=".52917" height=".52917"/>
<rect x="7.9375" y="4.4979" width=".52917" height=".52917"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:48-32" width="48" height="24" version="1.1" viewBox="0 0 12.7 6.35" 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>
<g transform="matrix(1.5 0 0 1.5 -.1323 -.52924)" fill="#bdbdbd" stroke-width="0">
<rect x="3.4396" y="3.7042" width=".52917" height=".52917"/>
<rect x="2.5577" y="3.7042" width=".52917" height=".52917"/>
<rect x="1.6757" y="3.7042" width=".52917" height=".52917"/>
<rect x="2.5577" y="2.8223" width=".52917" height=".52917"/>
<rect x="3.4396" y="2.8223" width=".52917" height=".52917"/>
<rect x="3.4396" y="1.9403" width=".52917" height=".52917"/>
<rect x="4.6743" y="1.9403" width=".52917" height=".52917"/>
<rect x="5.5563" y="3.7042" width=".52917" height=".52917"/>
<rect x="4.6743" y="3.7042" width=".52917" height=".52917"/>
<rect x="4.6743" y="2.8223" width=".52917" height=".52917"/>
<rect x="5.5563" y="2.8223" width=".52917" height=".52917"/>
<rect x="6.4382" y="3.7042" width=".52917" height=".52917"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:56-32" width="56" height="28" version="1.1" viewBox="0 0 14.817 7.4083" 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>
<g transform="matrix(1.5 0 0 1.5 -.1323 -.52924)" fill="#bdbdbd" stroke-width="0">
<rect x="4.1451" y="4.4098" width=".52917" height=".52917"/>
<rect x="3.2632" y="4.4098" width=".52917" height=".52917"/>
<rect x="2.3812" y="4.4098" width=".52917" height=".52917"/>
<rect x="3.2632" y="3.5279" width=".52917" height=".52917"/>
<rect x="4.1451" y="3.5279" width=".52917" height=".52917"/>
<rect x="4.1451" y="2.6459" width=".52917" height=".52917"/>
<rect x="5.3799" y="2.6458" width=".52917" height=".52917"/>
<rect x="6.2619" y="4.4097" width=".52917" height=".52917"/>
<rect x="5.3799" y="4.4097" width=".52917" height=".52917"/>
<rect x="5.3799" y="3.5278" width=".52917" height=".52917"/>
<rect x="6.2619" y="3.5278" width=".52917" height=".52917"/>
<rect x="7.1438" y="4.4097" width=".52917" height=".52917"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:64-32" width="64" height="32" version="1.1" viewBox="0 0 16.933 8.4666" 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>
<g transform="matrix(2 0 0 2 -1.8779e-5 -.52927)" fill="#bdbdbd" stroke-width="0">
<rect x="3.4396" y="3.7042" width=".52917" height=".52917"/>
<rect x="2.6458" y="3.7042" width=".52917" height=".52917"/>
<rect x="1.8521" y="3.7042" width=".52917" height=".52917"/>
<rect x="2.6458" y="2.9104" width=".52917" height=".52917"/>
<rect x="3.4396" y="2.9104" width=".52917" height=".52917"/>
<rect x="3.4396" y="2.1167" width=".52917" height=".52917"/>
<rect x="4.4979" y="2.1167" width=".52917" height=".52917"/>
<rect x="5.2917" y="3.7042" width=".52917" height=".52917"/>
<rect x="4.4979" y="3.7042" width=".52917" height=".52917"/>
<rect x="4.4979" y="2.9104" width=".52917" height=".52917"/>
<rect x="5.2917" y="2.9104" width=".52917" height=".52917"/>
<rect x="6.0854" y="3.7042" width=".52917" height=".52917"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:72-32" width="72" height="36" version="1.1" viewBox="0 0 19.05 9.5249" 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>
<g transform="matrix(2 0 0 2 -1.8779e-5 -.52927)" fill="#bdbdbd" stroke-width="0">
<rect x="3.9687" y="4.2333" width=".52917" height=".52917"/>
<rect x="3.1749" y="4.2333" width=".52917" height=".52917"/>
<rect x="2.3812" y="4.2333" width=".52917" height=".52917"/>
<rect x="3.1749" y="3.4395" width=".52917" height=".52917"/>
<rect x="3.9687" y="3.4395" width=".52917" height=".52917"/>
<rect x="3.9687" y="2.6458" width=".52917" height=".52917"/>
<rect x="5.027" y="2.6459" width=".52917" height=".52917"/>
<rect x="5.8208" y="4.2334" width=".52917" height=".52917"/>
<rect x="5.027" y="4.2334" width=".52917" height=".52917"/>
<rect x="5.027" y="3.4396" width=".52917" height=".52917"/>
<rect x="5.8208" y="3.4396" width=".52917" height=".52917"/>
<rect x="6.6145" y="4.2334" width=".52917" height=".52917"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:80-32" width="80" height="40" version="1.1" viewBox="0 0 21.167 10.583" 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>
<g transform="matrix(2 0 0 2 -1.8779e-5 -.52927)" fill="#bdbdbd" stroke-width="0">
<rect x="4.2333" y="4.498" width=".66145" height=".66145"/>
<rect x="3.175" y="4.4979" width=".66145" height=".66145"/>
<rect x="2.1167" y="4.4979" width=".66145" height=".66145"/>
<rect x="3.175" y="3.4396" width=".66145" height=".66145"/>
<rect x="4.2334" y="3.4396" width=".66145" height=".66145"/>
<rect x="4.2333" y="2.3813" width=".66145" height=".66145"/>
<rect x="5.6886" y="4.498" width=".66145" height=".66145"/>
<rect x="5.6886" y="3.4396" width=".66145" height=".66145"/>
<rect x="5.6886" y="2.3813" width=".66145" height=".66145"/>
<rect x="6.7469" y="4.4979" width=".66145" height=".66145"/>
<rect x="6.7469" y="3.4396" width=".66145" height=".66145"/>
<rect x="7.8052" y="4.4979" width=".66145" height=".66145"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -554,12 +554,26 @@ BLUE_INI TEXTFILE
"ImageLayout = Vertical\r\n"
"[ScrollBar.SizeBox]\r\n"
"ImageFile = blue_scrollbar_resizebox_grip.bmp\r\n"
"BgType = ImageFile\r\n"
"ImageSelectType = Dpi\r\n"
"ImageCount = 2\r\n"
"SizingType = TrueSize\r\n"
"Transparent = True\r\n"
"VAlign = Bottom\r\n"
"ImageFile1 = blue_scrollbar_resizebox_grip_16px.bmp\r\n"
"ImageFile2 = blue_scrollbar_resizebox_grip_20px.bmp\r\n"
"ImageFile3 = blue_scrollbar_resizebox_grip_24px.bmp\r\n"
"ImageFile4 = blue_scrollbar_resizebox_grip_28px.bmp\r\n"
"ImageFile5 = blue_scrollbar_resizebox_grip_32px.bmp\r\n"
"ImageFile6 = blue_scrollbar_resizebox_grip_36px.bmp\r\n"
"ImageFile7 = blue_scrollbar_resizebox_grip_40px.bmp\r\n"
"MinDpi1 = 96\r\n"
"MinDpi2 = 120\r\n"
"MinDpi3 = 144\r\n"
"MinDpi4 = 168\r\n"
"MinDpi5 = 192\r\n"
"MinDpi6 = 216\r\n"
"MinDpi7 = 240\r\n"
"\r\n; Spin\r\n"
"[Spin]\r\n"
@ -638,13 +652,27 @@ BLUE_INI TEXTFILE
"[Status.Gripper]\r\n"
"ContentMargins = 0, 0, 0, 0\r\n"
"; Same as scrollbar resize box gripper \r\n"
"ImageFile = blue_scrollbar_resizebox_grip.bmp\r\n"
"BgType = ImageFile\r\n"
"ImageSelectType = Dpi\r\n"
"ImageCount = 2\r\n"
"SizingType = TrueSize\r\n"
"Transparent = True\r\n"
"VAlign = Bottom\r\n"
"; Same as scrollbar resize box gripper \r\n"
"ImageFile1 = blue_scrollbar_resizebox_grip_16px.bmp\r\n"
"ImageFile2 = blue_scrollbar_resizebox_grip_20px.bmp\r\n"
"ImageFile3 = blue_scrollbar_resizebox_grip_24px.bmp\r\n"
"ImageFile4 = blue_scrollbar_resizebox_grip_28px.bmp\r\n"
"ImageFile5 = blue_scrollbar_resizebox_grip_32px.bmp\r\n"
"ImageFile6 = blue_scrollbar_resizebox_grip_36px.bmp\r\n"
"ImageFile7 = blue_scrollbar_resizebox_grip_40px.bmp\r\n"
"MinDpi1 = 96\r\n"
"MinDpi2 = 120\r\n"
"MinDpi3 = 144\r\n"
"MinDpi4 = 168\r\n"
"MinDpi5 = 192\r\n"
"MinDpi6 = 216\r\n"
"MinDpi7 = 240\r\n"
"\r\n; Tab\r\n"
"[Tab]\r\n"
@ -1058,8 +1086,26 @@ BLUE_SCROLLBAR_ARROW_GLYPHS_7PX_BMP BITMAP "blue_scrollbar_arrow_glyphs_7px.bmp"
/* @makedep: blue_scrollbar_arrow_glyphs_9px.bmp */
BLUE_SCROLLBAR_ARROW_GLYPHS_9PX_BMP BITMAP "blue_scrollbar_arrow_glyphs_9px.bmp"
/* @makedep: blue_scrollbar_resizebox_grip.bmp */
BLUE_SCROLLBAR_RESIZEBOX_GRIP_BMP BITMAP "blue_scrollbar_resizebox_grip.bmp"
/* @makedep: blue_scrollbar_resizebox_grip_16px.bmp */
BLUE_SCROLLBAR_RESIZEBOX_GRIP_16PX_BMP BITMAP "blue_scrollbar_resizebox_grip_16px.bmp"
/* @makedep: blue_scrollbar_resizebox_grip_20px.bmp */
BLUE_SCROLLBAR_RESIZEBOX_GRIP_20PX_BMP BITMAP "blue_scrollbar_resizebox_grip_20px.bmp"
/* @makedep: blue_scrollbar_resizebox_grip_24px.bmp */
BLUE_SCROLLBAR_RESIZEBOX_GRIP_24PX_BMP BITMAP "blue_scrollbar_resizebox_grip_24px.bmp"
/* @makedep: blue_scrollbar_resizebox_grip_28px.bmp */
BLUE_SCROLLBAR_RESIZEBOX_GRIP_28PX_BMP BITMAP "blue_scrollbar_resizebox_grip_28px.bmp"
/* @makedep: blue_scrollbar_resizebox_grip_32px.bmp */
BLUE_SCROLLBAR_RESIZEBOX_GRIP_32PX_BMP BITMAP "blue_scrollbar_resizebox_grip_32px.bmp"
/* @makedep: blue_scrollbar_resizebox_grip_36px.bmp */
BLUE_SCROLLBAR_RESIZEBOX_GRIP_36PX_BMP BITMAP "blue_scrollbar_resizebox_grip_36px.bmp"
/* @makedep: blue_scrollbar_resizebox_grip_40px.bmp */
BLUE_SCROLLBAR_RESIZEBOX_GRIP_40PX_BMP BITMAP "blue_scrollbar_resizebox_grip_40px.bmp"
/* @makedep: blue_scrollbar_shaft_horizontal.bmp */
BLUE_SCROLLBAR_SHAFT_HORIZONTAL_BMP BITMAP "blue_scrollbar_shaft_horizontal.bmp"