light.msstyles: Add Tooltip 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:44 +08:00 committed by Alexandre Julliard
parent 0a82fe4cfe
commit 7bebabd998
18 changed files with 161 additions and 21 deletions

View File

@ -75,7 +75,13 @@ SVG_SRCS = \
blue_toolbar_buttons_split_dropdown_glyph.svg \
blue_toolbar_separator_horizontal.svg \
blue_toolbar_separator_vertical.svg \
blue_tooltip_close.svg \
blue_tooltip_close_16px.svg \
blue_tooltip_close_20px.svg \
blue_tooltip_close_24px.svg \
blue_tooltip_close_28px.svg \
blue_tooltip_close_32px.svg \
blue_tooltip_close_36px.svg \
blue_tooltip_close_40px.svg \
blue_trackbar_slider_track.svg \
blue_trackbar_thumb_down_11px.svg \
blue_trackbar_thumb_down_15px.svg \

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:17-32" width="17" height="48" version="1.1" viewBox="0 0 4.4979 12.7" 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 stroke-width=".26458">
<path d="m4.4979 0.42636-0.453-0.42636-1.796 1.6903-1.796-1.6903-0.453 0.42636 1.796 1.6903-1.796 1.6903 0.453 0.42636 1.796-1.6903 1.796 1.6903 0.453-0.42636-1.796-1.6903z" fill="#aeaeae"/>
<path d="m4.4979 4.6597-0.453-0.42636-1.796 1.6903-1.796-1.6903-0.453 0.42636 1.796 1.6903-1.796 1.6903 0.453 0.42636 1.796-1.6903 1.796 1.6903 0.453-0.42636-1.796-1.6903z" fill="#ff1744"/>
<path d="m4.4979 8.893-0.453-0.42636-1.796 1.6903-1.796-1.6903-0.453 0.42636 1.796 1.6903-1.796 1.6903 0.453 0.42636 1.796-1.6903 1.796 1.6903 0.453-0.42636-1.796-1.6903z" fill="#d50000"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:16-32" width="16" height="48" version="1.1" viewBox="0 0 4.2333 12.7" 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 stroke-width=".26458">
<path d="m4.2332 0.42636-0.42634-0.42636-1.6903 1.6903-1.6903-1.6903-0.42635 0.42636 1.6903 1.6903-1.6903 1.6903 0.42635 0.42636 1.6903-1.6903 1.6903 1.6903 0.42634-0.42636-1.6903-1.6903z" fill="#aeaeae"/>
<path d="m4.2332 4.6597-0.42634-0.42636-1.6903 1.6903-1.6903-1.6903-0.42635 0.42636 1.6903 1.6903-1.6903 1.6903 0.42635 0.42636 1.6903-1.6903 1.6903 1.6903 0.42634-0.42636-1.6903-1.6903z" fill="#ff1744"/>
<path d="m4.2332 8.893-0.42634-0.42636-1.6903 1.6903-1.6903-1.6903-0.42635 0.42636 1.6903 1.6903-1.6903 1.6903 0.42635 0.42636 1.6903-1.6903 1.6903 1.6903 0.42634-0.42636-1.6903-1.6903z" fill="#d50000"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:20-32" width="20" height="60" version="1.1" viewBox="0 0 5.2916 15.875" 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 stroke-width=".26458">
<path d="m5.2916 0.53295-0.53293-0.53295-2.1129 2.1129-2.1129-2.1129-0.53294 0.53295 2.1129 2.1129-2.1129 2.1129 0.53294 0.53295 2.1129-2.1129 2.1129 2.1129 0.53293-0.53295-2.1129-2.1129z" fill="#aeaeae"/>
<path d="m5.2916 5.8246-0.53293-0.53295-2.1129 2.1129-2.1129-2.1129-0.53294 0.53295 2.1129 2.1129-2.1129 2.1129 0.53294 0.53295 2.1129-2.1129 2.1129 2.1129 0.53293-0.53295-2.1129-2.1129z" fill="#ff1744"/>
<path d="m5.2916 11.116-0.53293-0.53295-2.1129 2.1129-2.1129-2.1129-0.53294 0.53295 2.1129 2.1129-2.1129 2.1129 0.53294 0.53295 2.1129-2.1129 2.1129 2.1129 0.53293-0.53295-2.1129-2.1129z" fill="#d50000"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:24-32" width="24" height="72" version="1.1" viewBox="0 0 6.35 19.05" 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,1.1e-4,0)" stroke-width=".11759">
<path d="M 4.2332,0.42636 3.80686,0 2.11656,1.6903 0.42626,0 -9e-5,0.42636 1.69021,2.11666 -9e-5,3.80696 0.42626,4.23332 2.11656,2.54302 3.80686,4.23332 4.2332,3.80696 2.5429,2.11666 Z" fill="#aeaeae"/>
<path d="m4.2332 4.6597-0.42634-0.42636-1.6903 1.6903-1.6903-1.6903-0.42635 0.42636 1.6903 1.6903-1.6903 1.6903 0.42635 0.42636 1.6903-1.6903 1.6903 1.6903 0.42634-0.42636-1.6903-1.6903z" fill="#ff1744"/>
<path d="m4.2332 8.893-0.42634-0.42636-1.6903 1.6903-1.6903-1.6903-0.42635 0.42636 1.6903 1.6903-1.6903 1.6903 0.42635 0.42636 1.6903-1.6903 1.6903 1.6903 0.42634-0.42636-1.6903-1.6903z" fill="#d50000"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:28-32" width="28" height="84" version="1.1" viewBox="0 0 7.4083 22.225" 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.75 0 0 1.75 .0001325 0)" stroke-width=".093313">
<path d="M 4.2332,0.42636 3.80686,0 2.11656,1.6903 0.42626,0 -9e-5,0.42636 1.69021,2.11666 -9e-5,3.80696 0.42626,4.23332 2.11656,2.54302 3.80686,4.23332 4.2332,3.80696 2.5429,2.11666 Z" fill="#aeaeae"/>
<path d="m4.2332 4.6597-0.42634-0.42636-1.6903 1.6903-1.6903-1.6903-0.42635 0.42636 1.6903 1.6903-1.6903 1.6903 0.42635 0.42636 1.6903-1.6903 1.6903 1.6903 0.42634-0.42636-1.6903-1.6903z" fill="#ff1744"/>
<path d="m4.2332 8.893-0.42634-0.42636-1.6903 1.6903-1.6903-1.6903-0.42635 0.42636 1.6903 1.6903-1.6903 1.6903 0.42635 0.42636 1.6903-1.6903 1.6903 1.6903 0.42634-0.42636-1.6903-1.6903z" fill="#d50000"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:32-32" width="32" height="96" version="1.1" viewBox="0 0 8.4666 25.4" 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 .00014667 0)" stroke-width=".066145">
<path d="M 4.2332,0.42636 3.80686,0 2.11656,1.6903 0.42626,0 -9e-5,0.42636 1.69021,2.11666 -9e-5,3.80696 0.42626,4.23332 2.11656,2.54302 3.80686,4.23332 4.2332,3.80696 2.5429,2.11666 Z" fill="#aeaeae"/>
<path d="m4.2332 4.6597-0.42634-0.42636-1.6903 1.6903-1.6903-1.6903-0.42635 0.42636 1.6903 1.6903-1.6903 1.6903 0.42635 0.42636 1.6903-1.6903 1.6903 1.6903 0.42634-0.42636-1.6903-1.6903z" fill="#ff1744"/>
<path d="m4.2332 8.893-0.42634-0.42636-1.6903 1.6903-1.6903-1.6903-0.42635 0.42636 1.6903 1.6903-1.6903 1.6903 0.42635 0.42636 1.6903-1.6903 1.6903 1.6903 0.42634-0.42636-1.6903-1.6903z" fill="#d50000"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:36-32" width="36" height="108" version="1.1" viewBox="0 0 9.5249 28.575" 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.25 0 0 2.25 .00016917 0)" stroke-width=".055432">
<path d="M 4.2332,0.42636 3.80686,0 2.11656,1.6903 0.42626,0 -9e-5,0.42636 1.69021,2.11666 -9e-5,3.80696 0.42626,4.23332 2.11656,2.54302 3.80686,4.23332 4.2332,3.80696 2.5429,2.11666 Z" fill="#aeaeae"/>
<path d="m4.2332 4.6597-0.42634-0.42636-1.6903 1.6903-1.6903-1.6903-0.42635 0.42636 1.6903 1.6903-1.6903 1.6903 0.42635 0.42636 1.6903-1.6903 1.6903 1.6903 0.42634-0.42636-1.6903-1.6903z" fill="#ff1744"/>
<path d="m4.2332 8.893-0.42634-0.42636-1.6903 1.6903-1.6903-1.6903-0.42635 0.42636 1.6903 1.6903-1.6903 1.6903 0.42635 0.42636 1.6903-1.6903 1.6903 1.6903 0.42634-0.42636-1.6903-1.6903z" fill="#d50000"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:40-32" width="40" height="120" version="1.1" viewBox="0 0 10.583 31.75" 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.5 0 0 2.5 .00019167 0)" stroke-width=".047328">
<path d="M 4.2332,0.42636 3.80686,0 2.11656,1.6903 0.42626,0 -9e-5,0.42636 1.69021,2.11666 -9e-5,3.80696 0.42626,4.23332 2.11656,2.54302 3.80686,4.23332 4.2332,3.80696 2.5429,2.11666 Z" fill="#aeaeae"/>
<path d="m4.2332 4.6597-0.42634-0.42636-1.6903 1.6903-1.6903-1.6903-0.42635 0.42636 1.6903 1.6903-1.6903 1.6903 0.42635 0.42636 1.6903-1.6903 1.6903 1.6903 0.42634-0.42636-1.6903-1.6903z" fill="#ff1744"/>
<path d="m4.2332 8.893-0.42634-0.42636-1.6903 1.6903-1.6903-1.6903-0.42635 0.42636 1.6903 1.6903-1.6903 1.6903 0.42635 0.42636 1.6903-1.6903 1.6903 1.6903 0.42634-0.42636-1.6903-1.6903z" fill="#d50000"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -936,10 +936,24 @@ BLUE_INI TEXTFILE
"\r\n; Tooltip\r\n"
"[Tooltip.Close]\r\n"
"BgType = ImageFile\r\n"
"ImageFile = blue_tooltip_close.bmp\r\n"
"ImageSelectType = Dpi\r\n"
"ImageCount = 3\r\n"
"SizingType = TrueSize\r\n"
"ImageLayout = Vertical\r\n"
"ImageFile1 = blue_tooltip_close_16px.bmp\r\n"
"ImageFile2 = blue_tooltip_close_20px.bmp\r\n"
"ImageFile3 = blue_tooltip_close_24px.bmp\r\n"
"ImageFile4 = blue_tooltip_close_28px.bmp\r\n"
"ImageFile5 = blue_tooltip_close_32px.bmp\r\n"
"ImageFile6 = blue_tooltip_close_36px.bmp\r\n"
"ImageFile7 = blue_tooltip_close_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; TreeView\r\n"
"[TreeView]\r\n"
@ -1190,8 +1204,26 @@ BLUE_TOOLBAR_BUTTONS_SPLIT_DROPDOWN_BMP BITMAP "blue_toolbar_buttons_split_dropd
BLUE_TOOLBAR_BUTTONS_SPLIT_DROPDOWN_GLYPH_BMP BITMAP "blue_toolbar_buttons_split_dropdown_glyph.bmp"
/* Tooltip */
/* @makedep: blue_tooltip_close.bmp */
BLUE_TOOLTIP_CLOSE_BMP BITMAP "blue_tooltip_close.bmp"
/* @makedep: blue_tooltip_close_16px.bmp */
BLUE_TOOLTIP_CLOSE_16PX_BMP BITMAP "blue_tooltip_close_16px.bmp"
/* @makedep: blue_tooltip_close_20px.bmp */
BLUE_TOOLTIP_CLOSE_20PX_BMP BITMAP "blue_tooltip_close_20px.bmp"
/* @makedep: blue_tooltip_close_24px.bmp */
BLUE_TOOLTIP_CLOSE_24PX_BMP BITMAP "blue_tooltip_close_24px.bmp"
/* @makedep: blue_tooltip_close_28px.bmp */
BLUE_TOOLTIP_CLOSE_28PX_BMP BITMAP "blue_tooltip_close_28px.bmp"
/* @makedep: blue_tooltip_close_32px.bmp */
BLUE_TOOLTIP_CLOSE_32PX_BMP BITMAP "blue_tooltip_close_32px.bmp"
/* @makedep: blue_tooltip_close_36px.bmp */
BLUE_TOOLTIP_CLOSE_36PX_BMP BITMAP "blue_tooltip_close_36px.bmp"
/* @makedep: blue_tooltip_close_40px.bmp */
BLUE_TOOLTIP_CLOSE_40PX_BMP BITMAP "blue_tooltip_close_40px.bmp"
/* TrackBar */
/* @makedep: blue_trackbar_thumb_horizontal.bmp */