Qt: Swap compatibility star image to SVG

Images originally provided by KamFretoZ, adjusted to better fit the
column width.
This commit is contained in:
Stenzek 2024-10-13 17:08:54 +10:00
parent 469485974c
commit b3ae9cbe4a
No known key found for this signature in database
23 changed files with 780 additions and 17 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

View File

@ -0,0 +1,128 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="88"
height="16"
viewBox="0 0 87.999995 16"
version="1.1"
id="svg5"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
sodipodi:docname="star-0.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#505050"
bordercolor="#ffffff"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:deskcolor="#505050"
inkscape:document-units="px"
showgrid="false"
inkscape:zoom="10.429825"
inkscape:cx="37.536584"
inkscape:cy="1.9655172"
inkscape:window-width="1678"
inkscape:window-height="962"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs2" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<path
sodipodi:type="star"
style="fill:#ffffff;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;fill-opacity:1"
id="path238"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(-4.5440002,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffffff;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;fill-opacity:1"
id="path238-6"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(13.508654,-3.287675)" />
<path
sodipodi:type="star"
style="fill:#ffffff;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;fill-opacity:1"
id="path238-7"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(31.485839,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffffff;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;fill-opacity:1"
id="path238-5"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(49.500759,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffffff;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;fill-opacity:1"
id="path238-3"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(66.81011,-3.3684146)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -0,0 +1,128 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="88"
height="16"
viewBox="0 0 87.999995 16"
version="1.1"
id="svg5"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
sodipodi:docname="star-1.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#505050"
bordercolor="#ffffff"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:deskcolor="#505050"
inkscape:document-units="px"
showgrid="false"
inkscape:zoom="10.429825"
inkscape:cx="37.536584"
inkscape:cy="1.9655172"
inkscape:window-width="1678"
inkscape:window-height="962"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs2" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<path
sodipodi:type="star"
style="fill:#ffff33;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path238"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(-4.5440002,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffffff;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;fill-opacity:1"
id="path238-6"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(13.508654,-3.287675)" />
<path
sodipodi:type="star"
style="fill:#ffffff;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;fill-opacity:1"
id="path238-7"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(31.485839,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffffff;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;fill-opacity:1"
id="path238-5"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(49.500759,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffffff;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;fill-opacity:1"
id="path238-3"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(66.81011,-3.3684146)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -0,0 +1,128 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="88"
height="16"
viewBox="0 0 87.999995 16"
version="1.1"
id="svg5"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
sodipodi:docname="star-2.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#505050"
bordercolor="#ffffff"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:deskcolor="#505050"
inkscape:document-units="px"
showgrid="false"
inkscape:zoom="10.429825"
inkscape:cx="37.536584"
inkscape:cy="1.9655172"
inkscape:window-width="1678"
inkscape:window-height="962"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs2" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<path
sodipodi:type="star"
style="fill:#ffff33;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path238"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(-4.5440002,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffff33;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path238-6"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(13.508654,-3.287675)" />
<path
sodipodi:type="star"
style="fill:#ffffff;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;fill-opacity:1"
id="path238-7"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(31.485839,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffffff;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;fill-opacity:1"
id="path238-5"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(49.500759,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffffff;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;fill-opacity:1"
id="path238-3"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(66.81011,-3.3684146)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -0,0 +1,128 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="88"
height="16"
viewBox="0 0 87.999995 16"
version="1.1"
id="svg5"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
sodipodi:docname="star-3.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#505050"
bordercolor="#ffffff"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:deskcolor="#505050"
inkscape:document-units="px"
showgrid="false"
inkscape:zoom="10.429825"
inkscape:cx="37.536584"
inkscape:cy="1.9655172"
inkscape:window-width="1678"
inkscape:window-height="962"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs2" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<path
sodipodi:type="star"
style="fill:#ffff33;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path238"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(-4.5440002,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffff33;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path238-6"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(13.508654,-3.287675)" />
<path
sodipodi:type="star"
style="fill:#ffff33;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path238-7"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(31.485839,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffffff;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;fill-opacity:1"
id="path238-5"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(49.500759,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffffff;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;fill-opacity:1"
id="path238-3"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(66.81011,-3.3684146)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@ -0,0 +1,128 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="88"
height="16"
viewBox="0 0 87.999995 16"
version="1.1"
id="svg5"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
sodipodi:docname="star-4.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#505050"
bordercolor="#ffffff"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:deskcolor="#505050"
inkscape:document-units="px"
showgrid="false"
inkscape:zoom="10.429825"
inkscape:cx="37.536584"
inkscape:cy="1.9655172"
inkscape:window-width="1678"
inkscape:window-height="962"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs2" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<path
sodipodi:type="star"
style="fill:#ffff33;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path238"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(-4.5440002,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffff33;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path238-6"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(13.508654,-3.287675)" />
<path
sodipodi:type="star"
style="fill:#ffff33;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path238-7"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(31.485839,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffff33;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path238-5"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(49.500759,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffffff;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;fill-opacity:1"
id="path238-3"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(66.81011,-3.3684146)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@ -0,0 +1,128 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="88"
height="16"
viewBox="0 0 87.999995 16"
version="1.1"
id="svg5"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
sodipodi:docname="star-5.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#505050"
bordercolor="#ffffff"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:deskcolor="#505050"
inkscape:document-units="px"
showgrid="false"
inkscape:zoom="10.429825"
inkscape:cx="37.536584"
inkscape:cy="1.9655172"
inkscape:window-width="1678"
inkscape:window-height="962"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs2" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<path
sodipodi:type="star"
style="fill:#ffff33;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path238"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(-4.5440002,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffff33;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path238-6"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(13.508654,-3.287675)" />
<path
sodipodi:type="star"
style="fill:#ffff33;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path238-7"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(31.485839,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffff33;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path238-5"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(49.500759,-3.3684146)" />
<path
sodipodi:type="star"
style="fill:#ffff33;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path238-3"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="12.866945"
sodipodi:cy="12"
sodipodi:r1="8.2255917"
sodipodi:r2="4.1127963"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 12.866945,3.7744083 2.417441,4.8982696 5.405562,0.7854747 -3.911501,3.8127714 0.92338,5.38372 L 12.866945,16.112796 8.0320636,18.654643 8.9554435,13.270924 5.0439428,9.4581522 10.449504,8.6726779 Z"
inkscape:transform-center-y="-0.78547412"
transform="translate(66.81011,-3.3684146)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@ -250,8 +250,6 @@ static bool LoadResources();
static void DestroyResources(); static void DestroyResources();
static std::shared_ptr<GPUTexture> s_app_icon_texture; static std::shared_ptr<GPUTexture> s_app_icon_texture;
static std::array<std::shared_ptr<GPUTexture>, static_cast<u32>(GameDatabase::CompatibilityRating::Count)>
s_game_compatibility_textures;
static std::shared_ptr<GPUTexture> s_fallback_disc_texture; static std::shared_ptr<GPUTexture> s_fallback_disc_texture;
static std::shared_ptr<GPUTexture> s_fallback_exe_texture; static std::shared_ptr<GPUTexture> s_fallback_exe_texture;
static std::shared_ptr<GPUTexture> s_fallback_psf_texture; static std::shared_ptr<GPUTexture> s_fallback_psf_texture;
@ -918,10 +916,6 @@ bool FullscreenUI::LoadResources()
s_fallback_exe_texture = LoadTexture("fullscreenui/applications-system.png"); s_fallback_exe_texture = LoadTexture("fullscreenui/applications-system.png");
s_fallback_psf_texture = LoadTexture("fullscreenui/multimedia-player.png"); s_fallback_psf_texture = LoadTexture("fullscreenui/multimedia-player.png");
s_fallback_playlist_texture = LoadTexture("fullscreenui/address-book-new.png"); s_fallback_playlist_texture = LoadTexture("fullscreenui/address-book-new.png");
for (u32 i = 0; i < static_cast<u32>(GameDatabase::CompatibilityRating::Count); i++)
s_game_compatibility_textures[i] = LoadTexture(TinyString::from_format("fullscreenui/star-{}.png", i).c_str());
return true; return true;
} }
@ -932,8 +926,6 @@ void FullscreenUI::DestroyResources()
s_fallback_psf_texture.reset(); s_fallback_psf_texture.reset();
s_fallback_exe_texture.reset(); s_fallback_exe_texture.reset();
s_fallback_disc_texture.reset(); s_fallback_disc_texture.reset();
for (auto& tex : s_game_compatibility_textures)
tex.reset();
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
@ -6641,8 +6633,8 @@ void FullscreenUI::DrawGameList(const ImVec2& heading_size)
if (selected_entry->dbentry && if (selected_entry->dbentry &&
selected_entry->dbentry->compatibility != GameDatabase::CompatibilityRating::Unknown) selected_entry->dbentry->compatibility != GameDatabase::CompatibilityRating::Unknown)
{ {
ImGui::Image(s_game_compatibility_textures[static_cast<u32>(selected_entry->dbentry->compatibility)].get(), ImGui::Image(GetCachedTexture(selected_entry->GetCompatibilityIconFileName(), 88, 16),
LayoutScale(64.0f, 16.0f)); LayoutScale(88.0f, 16.0f));
ImGui::SameLine(); ImGui::SameLine();
} }
ImGui::Text(" (%s)", GameDatabase::GetCompatibilityRatingDisplayName( ImGui::Text(" (%s)", GameDatabase::GetCompatibilityRatingDisplayName(

View File

@ -995,6 +995,13 @@ TinyString GameList::Entry::GetLanguageIconFileName() const
return TinyString::from_format("images/flags/{}.svg", GetLanguageIcon()); return TinyString::from_format("images/flags/{}.svg", GetLanguageIcon());
} }
TinyString GameList::Entry::GetCompatibilityIconFileName() const
{
return TinyString::from_format(
"images/star-{}.svg",
static_cast<u32>(dbentry ? dbentry->compatibility : GameDatabase::CompatibilityRating::Unknown));
}
TinyString GameList::Entry::GetReleaseDateString() const TinyString GameList::Entry::GetReleaseDateString() const
{ {
TinyString ret; TinyString ret;

View File

@ -59,6 +59,7 @@ struct Entry
std::string_view GetLanguageIcon() const; std::string_view GetLanguageIcon() const;
TinyString GetLanguageIconFileName() const; TinyString GetLanguageIconFileName() const;
TinyString GetCompatibilityIconFileName() const;
TinyString GetReleaseDateString() const; TinyString GetReleaseDateString() const;

View File

@ -303,7 +303,8 @@ QIcon QtUtils::GetIconForEntryType(GameList::EntryType type)
QIcon QtUtils::GetIconForCompatibility(GameDatabase::CompatibilityRating rating) QIcon QtUtils::GetIconForCompatibility(GameDatabase::CompatibilityRating rating)
{ {
return QIcon(QStringLiteral(":/icons/star-%1.png").arg(static_cast<u32>(rating))); return QIcon(QString::fromStdString(
QtHost::GetResourcePath(TinyString::from_format("images/star-{}.svg", static_cast<u32>(rating)), true)));
} }
qreal QtUtils::GetDevicePixelRatioForWidget(const QWidget* widget) qreal QtUtils::GetDevicePixelRatioForWidget(const QWidget* widget)

View File

@ -220,12 +220,6 @@
<file>icons/QT.png</file> <file>icons/QT.png</file>
<file>icons/software-update-available@2x.png</file> <file>icons/software-update-available@2x.png</file>
<file>icons/software-update-available.png</file> <file>icons/software-update-available.png</file>
<file>icons/star-0.png</file>
<file>icons/star-1.png</file>
<file>icons/star-2.png</file>
<file>icons/star-3.png</file>
<file>icons/star-4.png</file>
<file>icons/star-5.png</file>
<file>icons/system-file-manager@2x.png</file> <file>icons/system-file-manager@2x.png</file>
<file>icons/system-file-manager.png</file> <file>icons/system-file-manager.png</file>
<file>icons/system-search@2x.png</file> <file>icons/system-search@2x.png</file>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB