(linear-es-de) Added support for the 16:9, 16:10, 4:3 and 21:9 aspect ratios

This commit is contained in:
Leon Styhre 2024-01-28 17:26:11 +01:00
parent 8fdbf429ef
commit 68178bf6d2
7 changed files with 259 additions and 13 deletions

View file

@ -19,6 +19,13 @@ The following options are included:
- LIVE
- PSN
4 aspect ratios:
- 16:9
- 16:10
- 4:3
- 21:9
3 transitions:
- Instant and slide

View file

@ -1,3 +1,61 @@
<theme>
<variant name="all">
<view name="system, gamelist">
<image name="helpsystemPanel">
<size>1 0.057</size>
</image>
</view>
</variant>
<variant name="textlistWithVideos, textlistWithoutVideos">
<view name="gamelist">
<text name="description">
<pos>0.405 0.66</pos>
</text>
</view>
</variant>
<variant name="simpleTextlistWithVideos, simpleTextlistWithoutVideos">
<view name="gamelist">
<text name="customCollectionName">
<pos>0.03 0.049</pos>
</text>
</view>
</variant>
<variant name="textlistWithVideos">
<view name="gamelist">
<video name="gameVideo">
<pos>0.592 0.417</pos>
<maxSize>0.377 0.485</maxSize>
</video>
</view>
</variant>
<variant name="textlistWithoutVideos">
<view name="gamelist">
<image name="gameImage">
<pos>0.592 0.417</pos>
<maxSize>0.377 0.485</maxSize>
</image>
</view>
</variant>
<variant name="simpleTextlistWithVideos">
<view name="gamelist">
<video name="gameVideo">
<pos>0.655 0.22</pos>
<maxSize>0.5 0.65</maxSize>
</video>
</view>
</variant>
<variant name="simpleTextlistWithoutVideos">
<view name="gamelist">
<image name="gameImage">
<pos>0.655 0.22</pos>
<maxSize>0.5 0.65</maxSize>
</image>
</view>
</variant>
</theme>

View file

@ -1,3 +1,61 @@
<theme>
<variant name="all">
<view name="system, gamelist">
<image name="helpsystemPanel">
<size>1 0.06</size>
</image>
</view>
</variant>
<variant name="textlistWithVideos, textlistWithoutVideos">
<view name="gamelist">
<text name="description">
<pos>0.405 0.67</pos>
</text>
</view>
</variant>
<variant name="simpleTextlistWithVideos, simpleTextlistWithoutVideos">
<view name="gamelist">
<text name="customCollectionName">
<pos>0.03 0.043</pos>
</text>
</view>
</variant>
<variant name="textlistWithVideos">
<view name="gamelist">
<video name="gameVideo">
<pos>0.592 0.417</pos>
<maxSize>0.377 0.485</maxSize>
</video>
</view>
</variant>
<variant name="textlistWithoutVideos">
<view name="gamelist">
<image name="gameImage">
<pos>0.592 0.417</pos>
<maxSize>0.377 0.485</maxSize>
</image>
</view>
</variant>
<variant name="simpleTextlistWithVideos">
<view name="gamelist">
<video name="gameVideo">
<pos>0.66 0.174</pos>
<maxSize>0.5 0.715</maxSize>
</video>
</view>
</variant>
<variant name="simpleTextlistWithoutVideos">
<view name="gamelist">
<image name="gameImage">
<pos>0.66 0.174</pos>
<maxSize>0.5 0.715</maxSize>
</image>
</view>
</variant>
</theme>

View file

@ -1,3 +1,61 @@
<theme>
<variant name="all">
<view name="system, gamelist">
<image name="helpsystemPanel">
<size>1 0.058</size>
</image>
</view>
</variant>
<variant name="textlistWithVideos, textlistWithoutVideos">
<view name="gamelist">
<text name="description">
<pos>0.405 0.67</pos>
</text>
</view>
</variant>
<variant name="simpleTextlistWithVideos, simpleTextlistWithoutVideos">
<view name="gamelist">
<text name="customCollectionName">
<pos>0.03 0.024</pos>
</text>
</view>
</variant>
<variant name="textlistWithVideos">
<view name="gamelist">
<video name="gameVideo">
<pos>0.592 0.417</pos>
<maxSize>0.3 0.485</maxSize>
</video>
</view>
</variant>
<variant name="textlistWithoutVideos">
<view name="gamelist">
<image name="gameImage">
<pos>0.592 0.417</pos>
<maxSize>0.3 0.485</maxSize>
</image>
</view>
</variant>
<variant name="simpleTextlistWithVideos">
<view name="gamelist">
<video name="gameVideo">
<pos>0.66 0.174</pos>
<maxSize>0.45 0.715</maxSize>
</video>
</view>
</variant>
<variant name="simpleTextlistWithoutVideos">
<view name="gamelist">
<image name="gameImage">
<pos>0.66 0.174</pos>
<maxSize>0.45 0.715</maxSize>
</image>
</view>
</variant>
</theme>

View file

@ -1,3 +1,61 @@
<theme>
<variant name="all">
<view name="system, gamelist">
<image name="helpsystemPanel">
<size>1 0.058</size>
</image>
</view>
</variant>
<variant name="textlistWithVideos, textlistWithoutVideos">
<view name="gamelist">
<text name="description">
<pos>0.405 0.64</pos>
</text>
</view>
</variant>
<variant name="simpleTextlistWithVideos, simpleTextlistWithoutVideos">
<view name="gamelist">
<text name="customCollectionName">
<pos>0.03 0.058</pos>
</text>
</view>
</variant>
<variant name="textlistWithVideos">
<view name="gamelist">
<video name="gameVideo">
<pos>0.592 0.417</pos>
<maxSize>0.377 0.415</maxSize>
</video>
</view>
</variant>
<variant name="textlistWithoutVideos">
<view name="gamelist">
<image name="gameImage">
<pos>0.592 0.417</pos>
<maxSize>0.377 0.415</maxSize>
</image>
</view>
</variant>
<variant name="simpleTextlistWithVideos">
<view name="gamelist">
<video name="gameVideo">
<pos>0.655 0.25</pos>
<maxSize>0.5 0.55</maxSize>
</video>
</view>
</variant>
<variant name="simpleTextlistWithoutVideos">
<view name="gamelist">
<image name="gameImage">
<pos>0.655 0.25</pos>
<maxSize>0.5 0.55</maxSize>
</image>
</view>
</variant>
</theme>

View file

@ -5,6 +5,11 @@
<themeCapabilities>
<themeName>Linear</themeName>
<aspectRatio>16:9</aspectRatio>
<aspectRatio>16:10</aspectRatio>
<aspectRatio>4:3</aspectRatio>
<aspectRatio>21:9</aspectRatio>
<colorScheme name="dark">
<label>Dark</label>
</colorScheme>

View file

@ -19,6 +19,19 @@
<gradientImage>./assets/images/gradient.svg</gradientImage>
</variables>
<aspectRatio name="16:9">
<include>./aspect-ratio-16-9.xml</include>
</aspectRatio>
<aspectRatio name="16:10">
<include>./aspect-ratio-16-10.xml</include>
</aspectRatio>
<aspectRatio name="4:3">
<include>./aspect-ratio-4-3.xml</include>
</aspectRatio>
<aspectRatio name="21:9">
<include>./aspect-ratio-21-9.xml</include>
</aspectRatio>
<variant name="all">
<view name="system, gamelist">
<image name="background">
@ -32,7 +45,6 @@
</image>
<image name="helpsystemPanel">
<pos>0 1</pos>
<size>1 0.06</size>
<origin>0 1</origin>
<stationary>always</stationary>
<path>${pixelImage}</path>
@ -41,7 +53,7 @@
<zIndex>60</zIndex>
</image>
<helpsystem name="help">
<pos>0.5 0.985</pos>
<pos>0.5 0.9855</pos>
<origin>0.5 1</origin>
<textColor>${primaryColor}</textColor>
<iconColor>${primaryColor}</iconColor>
@ -231,8 +243,7 @@
<color>${secondaryColor}</color>
</text>
<text name="description">
<pos>0.405 0.67</pos>
<size>0.374 0.27</size>
<size>0.374 0.268</size>
<metadata>description</metadata>
<container>true</container>
<containerScrollSpeed>1</containerScrollSpeed>
@ -549,7 +560,6 @@
<color>${primaryColor}</color>
</image>
<text name="customCollectionName">
<pos>0.03 0.043</pos>
<size>0.36 0.029</size>
<origin>0 0</origin>
<fontPath>${primaryFont}</fontPath>
@ -587,8 +597,6 @@
<variant name="textlistWithVideos">
<view name="gamelist">
<video name="gameVideo">
<pos>0.592 0.417</pos>
<maxSize>0.377 0.485</maxSize>
<origin>0.5 0.5</origin>
<imageType>image</imageType>
<interpolation>nearest</interpolation>
@ -604,8 +612,6 @@
<variant name="textlistWithoutVideos">
<view name="gamelist">
<image name="gameImage">
<pos>0.592 0.417</pos>
<maxSize>0.377 0.485</maxSize>
<origin>0.5 0.5</origin>
<imageType>image</imageType>
<scrollFadeIn>true</scrollFadeIn>
@ -616,8 +622,6 @@
<variant name="simpleTextlistWithVideos">
<view name="gamelist">
<video name="gameVideo">
<pos>0.66 0.174</pos>
<maxSize>0.5 0.725</maxSize>
<origin>0.5 0</origin>
<imageType>image</imageType>
<interpolation>nearest</interpolation>
@ -633,8 +637,6 @@
<variant name="simpleTextlistWithoutVideos">
<view name="gamelist">
<image name="gameImage">
<pos>0.66 0.174</pos>
<maxSize>0.5 0.725</maxSize>
<origin>0.5 0</origin>
<imageType>image</imageType>
<scrollFadeIn>true</scrollFadeIn>