(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 - LIVE
- PSN - PSN
4 aspect ratios:
- 16:9
- 16:10
- 4:3
- 21:9
3 transitions: 3 transitions:
- Instant and slide - Instant and slide

View file

@ -1,3 +1,61 @@
<theme> <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> </theme>

View file

@ -1,3 +1,61 @@
<theme> <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> </theme>

View file

@ -1,3 +1,61 @@
<theme> <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> </theme>

View file

@ -1,3 +1,61 @@
<theme> <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> </theme>

View file

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

View file

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