(modern-es-de) Replaced the discrete selection box rectangles with a single image.

This commit is contained in:
Leon Styhre 2023-01-29 15:30:34 +01:00
parent 0fdb0500fe
commit 0f66f9e7cd
7 changed files with 63 additions and 87 deletions

View file

@ -14,26 +14,13 @@
<view name="system"> <view name="system">
<carousel name="systemCarousel"> <carousel name="systemCarousel">
<maxItemCount>4</maxItemCount> <maxItemCount>4</maxItemCount>
<itemSize>0.234 0.374</itemSize> <itemSize>0.232 0.374</itemSize>
</carousel> </carousel>
<image name="arrowBlock"> <image name="arrowBlock">
<size>0.023 0.047</size> <size>0.023 0.047</size>
</image> </image>
<image name="selectionBoxBottom"> <image name="selectionBox">
<pos>0.5 0.6925</pos> <size>0.2416 0</size>
<size>0.24 0.003</size>
</image>
<image name="selectionBoxTop">
<pos>0.5 0.3072</pos>
<size>0.24 0.003</size>
</image>
<image name="selectionBoxLeft">
<pos>0.38 0.5</pos>
<size>0.0016875 0.388</size>
</image>
<image name="selectionBoxRight">
<pos>0.62 0.5</pos>
<size>0.0016875 0.388</size>
</image> </image>
</view> </view>

View file

@ -19,23 +19,8 @@
<image name="arrowBlock"> <image name="arrowBlock">
<size>0.023 0.047</size> <size>0.023 0.047</size>
</image> </image>
<image name="selectionBoxBottom"> <image name="selectionBox">
<pos>0.5 0.7042</pos> <size>0.2316 0</size>
<origin>0.5 0</origin>
<size>0.2302 0.003</size>
</image>
<image name="selectionBoxTop">
<pos>0.5 0.296</pos>
<origin>0.5 0</origin>
<size>0.2302 0.003</size>
</image>
<image name="selectionBoxLeft">
<pos>0.385 0.5</pos>
<size>0.0016875 0.4112</size>
</image>
<image name="selectionBoxRight">
<pos>0.615 0.5</pos>
<size>0.0016875 0.4112</size>
</image> </image>
</view> </view>

View file

@ -19,21 +19,8 @@
<image name="arrowBlock"> <image name="arrowBlock">
<size>0.023 0.047</size> <size>0.023 0.047</size>
</image> </image>
<image name="selectionBoxBottom"> <image name="selectionBox">
<pos>0.5 0.6895</pos> <size>0.16 0</size>
<size>0.16078571 0.003</size>
</image>
<image name="selectionBoxTop">
<pos>0.5 0.311</pos>
<size>0.16078571 0.003</size>
</image>
<image name="selectionBoxLeft">
<pos>0.420 0.5</pos>
<size>0.00128571 0.381</size>
</image>
<image name="selectionBoxRight">
<pos>0.58 0.5</pos>
<size>0.00128571 0.381</size>
</image> </image>
</view> </view>

View file

@ -19,21 +19,8 @@
<image name="arrowBlock"> <image name="arrowBlock">
<size>0.029 0.047</size> <size>0.029 0.047</size>
</image> </image>
<image name="selectionBoxBottom"> <image name="selectionBox">
<pos>0.5 0.6620</pos> <size>0.243 0</size>
<size>0.24383125 0.004</size>
</image>
<image name="selectionBoxTop">
<pos>0.5 0.34</pos>
<size>0.24383125 0.004</size>
</image>
<image name="selectionBoxLeft">
<pos>0.3792 0.5</pos>
<size>0.00253125 0.322</size>
</image>
<image name="selectionBoxRight">
<pos>0.6205 0.5</pos>
<size>0.00253125 0.322</size>
</image> </image>
</view> </view>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="400"
height="400"
version="1.1"
viewBox="0 0 400 400"
id="svg4"
sodipodi:docname="selection_box.svg"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
inkscape:export-filename="/home/leon/Leon/Programmering/EmulationStation-DE/emulationstation-de/themes/modern-es-de/assets/selection_box.png"
inkscape:export-xdpi="72"
inkscape:export-ydpi="72"
shape-rendering="crispEdges"
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">
<defs
id="defs8" />
<sodipodi:namedview
id="namedview6"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="true"
showgrid="false"
inkscape:zoom="2.8284271"
inkscape:cx="247.66415"
inkscape:cy="188.26718"
inkscape:window-width="3840"
inkscape:window-height="2065"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg4"
showguides="false" />
<rect
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:2.99256;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stop-color:#000000"
id="rect1087-3"
width="397.00745"
height="397.00745"
x="1.4962769"
y="1.4962769"
rx="0"
ry="0"
inkscape:export-filename="/home/leon/Leon/Programmering/EmulationStation-DE/emulationstation-de/themes/modern-es-de/assets/rect1087-3.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

@ -121,31 +121,10 @@
<letterCase>none</letterCase> <letterCase>none</letterCase>
</text> </text>
<!-- Blue selection box --> <!-- Blue selection box -->
<image name="selectionBoxBottom"> <image name="selectionBox">
<pos>0.5 0.5</pos>
<origin>0.5 0.5</origin> <origin>0.5 0.5</origin>
<path>./assets/box.png</path> <path>./assets/selection_box.png</path>
<tile>false</tile>
<color>${highlightColor}</color>
<zIndex>70</zIndex>
</image>
<image name="selectionBoxTop">
<origin>0.5 0.5</origin>
<path>./assets/box.png</path>
<tile>false</tile>
<color>${highlightColor}</color>
<zIndex>70</zIndex>
</image>
<image name="selectionBoxLeft">
<origin>0.5 0.5</origin>
<path>./assets/box.png</path>
<tile>false</tile>
<color>${highlightColor}</color>
<zIndex>70</zIndex>
</image>
<image name="selectionBoxRight">
<origin>0.5 0.5</origin>
<path>./assets/box.png</path>
<tile>false</tile>
<color>${highlightColor}</color> <color>${highlightColor}</color>
<zIndex>70</zIndex> <zIndex>70</zIndex>
</image> </image>