(rbsimple-DE) Added an additional theme engine test variant.

This commit is contained in:
Leon Styhre 2022-03-25 22:55:17 +01:00
parent b96f6bc131
commit 51e883cd45
6 changed files with 399 additions and 144 deletions

View file

@ -42,8 +42,13 @@ Theme capabilities for rbsimple-DE.
</override>
</variant>
<variant name="themeEngineTest">
<label>Theme engine test</label>
<variant name="themeEngineTest_1">
<label>Theme engine test 1</label>
<selectable>true</selectable>
</variant>
<variant name="themeEngineTest_2">
<label>Theme engine test 2</label>
<selectable>true</selectable>
</variant>

View file

@ -44,12 +44,11 @@
</image>
</view>
<view name="gamelist">
<image name="background">
<color>404040</color>
</image>
<textlist name="gamelist">
<textlist name="textlist_gamelist">
<selectorColor>161616</selectorColor>
<selectedColor>AFAFAF</selectedColor>
<primaryColor>000000</primaryColor>
@ -68,7 +67,6 @@
</view>
</variant>
<!-- All except basic -->
<view name="gamelist">
<image name="backframe2">
<color>6F6F6F</color>

View file

@ -50,7 +50,7 @@
<image name="background">
<color>707070</color>
</image>
<textlist name="gamelist">
<textlist name="textlist_gamelist">
<selectorColor>262626</selectorColor>
<selectedColor>9F9F9F</selectedColor>
<primaryColor>262626</primaryColor>
@ -69,7 +69,6 @@
</view>
</variant>
<!-- All except basic -->
<view name="gamelist">
<image name="backframe2">
<color>9F9F9F</color>

View file

@ -9,6 +9,14 @@ based on: 'recalbox-multi' by the Recalbox community
<theme>
<include>./navigationsounds.xml</include>
<variant name="themeEngineTest_1">
<include>./theme_engine_test_1.xml</include>
</variant>
<variant name="themeEngineTest_2">
<include>./theme_engine_test_2.xml</include>
</variant>
<variant name="lightMode, lightModeNoVideos">
<include>./colors_light.xml</include>
</variant>
@ -17,30 +25,32 @@ based on: 'recalbox-multi' by the Recalbox community
<include>./colors_dark.xml</include>
</variant>
<view name="system">
<carousel name="system_carousel">
<logo>./${system.theme}/images/logo.svg</logo>
<logoScale>1.23</logoScale>
<logoSize>0.25 0.125</logoSize>
<fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
<fontSize>0.070</fontSize>
<letterCase>uppercase</letterCase>
<lineSpacing>1.2</lineSpacing>
<text>${system.fullName}</text>
<maxLogoCount>3</maxLogoCount>
</carousel>
<text name="game_counter">
<fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
<fontSize>0.035</fontSize>
<pos>0.5 0.6437</pos>
<size>1 0.056</size>
<origin>0.5 0.5</origin>
<letterCase>uppercase</letterCase>
<horizontalAlignment>center</horizontalAlignment>
<systemdata>gamecount</systemdata>
<zIndex>50</zIndex>
</text>
</view>
<variant name="lightMode, lightModeNoVideos, darkMode, darkModeNoVideos">
<view name="system">
<carousel name="system_carousel">
<logo>./${system.theme}/images/logo.svg</logo>
<logoScale>1.23</logoScale>
<logoSize>0.25 0.125</logoSize>
<fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
<fontSize>0.070</fontSize>
<letterCase>uppercase</letterCase>
<lineSpacing>1.2</lineSpacing>
<text>${system.fullName}</text>
<maxLogoCount>3</maxLogoCount>
</carousel>
<text name="game_counter">
<fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
<fontSize>0.035</fontSize>
<pos>0.5 0.6437</pos>
<size>1 0.056</size>
<origin>0.5 0.5</origin>
<letterCase>uppercase</letterCase>
<horizontalAlignment>center</horizontalAlignment>
<systemdata>gamecount</systemdata>
<zIndex>50</zIndex>
</text>
</view>
</variant>
<view name="system">
<text name="info1, info2, info3, info4, info5, info6, info7, info8, info9, info10">
@ -91,11 +101,6 @@ based on: 'recalbox-multi' by the Recalbox community
</text>
</view>
<variant name="themeEngineTest">
<include>./colors_dark.xml</include>
<include>./theme_engine_test.xml</include>
</variant>
<view name="system, gamelist">
<image name="background">
<tile>true</tile>
@ -192,14 +197,22 @@ based on: 'recalbox-multi' by the Recalbox community
<fontSize>0.02</fontSize>
<size>0.144 0.02</size>
</datetime>
<textlist name="gamelist">
<fontPath>./core/fonts/Exo2-BoldCondensed.otf</fontPath>
<fontSize>0.025</fontSize>
<letterCase>uppercase</letterCase>
</textlist>
</view>
<!-- All except basic -->
<variant name="lightMode, lightModeNoVideos, darkMode, darkModeNoVideos">
<view name="gamelist">
<textlist name="textlist_gamelist">
<fontPath>./core/fonts/Exo2-BoldCondensed.otf</fontPath>
<fontSize>0.025</fontSize>
<letterCase>uppercase</letterCase>
<pos>0.025 0.201</pos>
<size>0.39 0.711</size>
<horizontalAlignment>left</horizontalAlignment>
<horizontalMargin>0.01</horizontalMargin>
</textlist>
</view>
</variant>
<view name="gamelist">
<image name="backframe2">
<pos>0.02 0.19</pos>
@ -285,12 +298,6 @@ based on: 'recalbox-multi' by the Recalbox community
<size>0.346 0.235</size>
<fontSize>0.02</fontSize>
</text>
<textlist name="gamelist">
<pos>0.025 0.201</pos>
<size>0.39 0.711</size>
<horizontalAlignment>left</horizontalAlignment>
<horizontalMargin>0.01</horizontalMargin>
</textlist>
<gamelistinfo name="gamelistInfo">
<fontPath>./core/fonts/Exo2-BoldCondensed.otf</fontPath>
<fontSize>0.025</fontSize>
@ -321,7 +328,7 @@ based on: 'recalbox-multi' by the Recalbox community
<origin>0 0</origin>
<path>./core/images/frame.png</path>
</image>
<textlist name="gamelist">
<textlist name="textlist_gamelist">
<pos>0.04 0.201</pos>
<size>0.92 0.71</size>
<horizontalAlignment>center</horizontalAlignment>

View file

@ -1,73 +1,4 @@
<theme>
<view name="system">
<carousel name="system_carousel">
<color>00000099</color>
<textColor>F0F0F0</textColor>
</carousel>
<text name="game_counter">
<color>D6D6D6</color>
<backgroundColor>55555500</backgroundColor>
</text>
<text name="game_counter2">
<color>D6D6D6</color>
<backgroundColor>555555D8</backgroundColor>
</text>
<text name="info1, info2, info3, info4, info5, info6, info7, info8, info9, info10">
<color>B6B6B6</color>
</text>
<text name="system_name">
<color>E6E6E6</color>
<backgroundColor>55555500</backgroundColor>
</text>
<text name="game_name">
<color>E6E6E6</color>
<backgroundColor>55555500</backgroundColor>
</text>
<datetime name="game_release_date">
<color>E6E6E6</color>
<backgroundColor>55555500</backgroundColor>
</datetime>
<text name="recently_played_text">
<color>E6E6E6</color>
<backgroundColor>55555500</backgroundColor>
</text>
<text name="info1, info2, info3, info4, info5, info6, info7, info8, info9, info10">
<color>D6D6D6</color>
</text>
<image name="background">
<color>000000</color>
</image>
<text name="logoText">
<color>B6B6B6</color>
</text>
</view>
<view name="system, gamelist">
<helpsystem name="help">
<textColor>D6D6D6</textColor>
<iconColor>D6D6D6</iconColor>
<textColorDimmed>969696</textColorDimmed>
<iconColorDimmed>969696</iconColorDimmed>
</helpsystem>
</view>
<!-- Default band colors (used if a system is unthemed). -->
<view name="system, gamelist">
<image name="band1">
<visible>false</visible>
</image>
<image name="band2">
<visible>false</visible>
</image>
<image name="band3">
<visible>false</visible>
</image>
<image name="band4">
<visible>false</visible>
</image>
</view>
<view name="system">
<carousel name="system_carousel">
<type>vertical_wheel</type>
@ -97,7 +28,6 @@
<systemdata>gamecount</systemdata>
<zIndex>50</zIndex>
</text>
<text name="game_counter2">
<fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
<fontSize>0.035</fontSize>
@ -110,7 +40,6 @@
<zIndex>50</zIndex>
<visible>false</visible>
</text>
<text name="system_name">
<fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
<fontSize>0.085</fontSize>
@ -122,7 +51,6 @@
<systemdata>fullname</systemdata>
<zIndex>50</zIndex>
</text>
<text name="game_name">
<fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
<fontSize>0.045</fontSize>
@ -135,7 +63,6 @@
<metadata>name</metadata>
<zIndex>50</zIndex>
</text>
<datetime name="game_release_date">
<fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
<fontSize>0.045</fontSize>
@ -149,7 +76,6 @@
<metadata>lastplayed</metadata>
<zIndex>50</zIndex>
</datetime>
<text name="recently_played_text">
<fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
<fontSize>0.035</fontSize>
@ -161,31 +87,26 @@
<text>Last played</text>
<zIndex>50</zIndex>
</text>
<gameselector name="selector_recent">
<selection>lastplayed</selection>
<gameCount>3</gameCount>
</gameselector>
<gameselector name="selector_random">
<selection>random</selection>
<gameCount>1</gameCount>
</gameselector>
<rating name="random_game_rating">
<pos>0.26 0.167</pos>
<size>0.06 0.04</size>
<color>FFEE00</color>
<gameselector>selector_random</gameselector>
</rating>
<rating name="recent_game_rating">
<pos>0.889 0.042</pos>
<size>0.03 0.03</size>
<color>FFEE00</color>
<gameselector>selector_recent</gameselector>
</rating>
<image name="random_background_image">
<origin>0 0</origin>
<pos>0 0</pos>
@ -198,7 +119,6 @@
<opacity>0.5</opacity>
<saturation>0.3</saturation>
</image>
<image name="recent_game_image">
<origin>0 0</origin>
<pos>0.775 0.08</pos>
@ -210,7 +130,6 @@
<zIndex>3</zIndex>
<opacity>1</opacity>
</image>
<video name="random_game_video">
<origin>0 0</origin>
<pos>0.26 0.22</pos>
@ -225,19 +144,16 @@
<audio>true</audio>
<delay>1.7</delay>
</video>
<helpsystem name="help">
<pos>0.9885 0.954</pos>
<origin>1 0 </origin>
<origin>1 0</origin>
</helpsystem>
<image name="consolegame">
<visible>false</visible>
</image>
<image name="controller">
<visible>false</visible>
</image>
<text name="info1">
<pos>0.58 0.695</pos>
<horizontalAlignment>right</horizontalAlignment>
@ -279,18 +195,23 @@
<horizontalAlignment>right</horizontalAlignment>
</text>
</view>
<!--
<view name="gamelist">
<image name="md_image">
<origin>0.5 0.5</origin>
<pos>0.63 0.45</pos>
<maxSize>0.360 0.424</maxSize>
<imageType>image</imageType>
<interpolation>nearest</interpolation>
<scrollFadeIn>true</scrollFadeIn>
<!-- Hide the bands. -->
<view name="system, gamelist">
<image name="band1">
<visible>false</visible>
</image>
<image name="band2">
<visible>false</visible>
</image>
<image name="band3">
<visible>false</visible>
</image>
<image name="band4">
<visible>false</visible>
</image>
</view>
-->
<view name="gamelist">
<video name="md_video">
<origin>0.5 0.5</origin>
@ -303,4 +224,108 @@
</video>
</view>
<view name="system, gamelist">
<helpsystem name="help">
<textColor>A6A6A6</textColor>
<iconColor>A6A6A6</iconColor>
<textColorDimmed>969696</textColorDimmed>
<iconColorDimmed>969696</iconColorDimmed>
</helpsystem>
</view>
<view name="gamelist">
<textlist name="textlist_gamelist">
<fontPath>./core/fonts/Exo2-BoldCondensed.otf</fontPath>
<fontSize>0.025</fontSize>
<letterCase>uppercase</letterCase>
</textlist>
<textlist name="textlist_gamelist">
<pos>0.025 0.201</pos>
<size>0.39 0.711</size>
<horizontalAlignment>left</horizontalAlignment>
<horizontalMargin>0.01</horizontalMargin>
</textlist>
<image name="background">
<color>404040</color>
</image>
<textlist name="textlist_gamelist">
<selectorColor>161616</selectorColor>
<selectedColor>AFAFAF</selectedColor>
<primaryColor>000000</primaryColor>
<secondaryColor>333333</secondaryColor>
</textlist>
<gamelistinfo name="gamelistInfo">
<color>303030</color>
</gamelistinfo>
</view>
<variant name="noMedia">
<view name="gamelist">
<image name="backframe1">
<color>9F9F9F</color>
</image>
</view>
</variant>
<view name="system">
<carousel name="system_carousel">
<color>00000099</color>
<textColor>F0F0F0</textColor>
</carousel>
<text name="game_counter">
<color>C6C6C6</color>
<backgroundColor>55555500</backgroundColor>
</text>
<text name="game_counter2">
<color>D6D6D6</color>
<backgroundColor>555555D8</backgroundColor>
</text>
<text name="info1, info2, info3, info4, info5, info6, info7, info8, info9, info10">
<color>B6B6B6</color>
</text>
<text name="system_name">
<color>E6E6E6</color>
<backgroundColor>55555500</backgroundColor>
</text>
<text name="game_name">
<color>E6E6E6</color>
<backgroundColor>55555500</backgroundColor>
</text>
<datetime name="game_release_date">
<color>E6E6E6</color>
<backgroundColor>55555500</backgroundColor>
</datetime>
<text name="recently_played_text">
<color>E6E6E6</color>
<backgroundColor>55555500</backgroundColor>
</text>
<text name="info1, info2, info3, info4, info5, info6, info7, info8, info9, info10">
<color>D6D6D6</color>
</text>
<image name="background">
<color>000000</color>
</image>
<text name="logoText">
<color>B6B6B6</color>
</text>
</view>
<view name="gamelist">
<image name="backframe2">
<color>6F6F6F</color>
</image>
<image name="backframe3">
<color>6F6F6F</color>
</image>
<text name="md_lbl_rating, md_lbl_releasedate, md_lbl_developer,
md_lbl_publisher, md_lbl_genre, md_lbl_players,
md_lbl_lastplayed, md_lbl_playcount, md_developer,
md_publisher, md_genre, md_players, md_playcount,
md_description">
<color>000000</color>
</text>
<datetime name="md_releasedate, md_lastplayed">
<color>000000</color>
</datetime>
</view>
</theme>

View file

@ -0,0 +1,221 @@
<theme>
<view name="system">
<textlist name="textlist_gamelist">
<pos>0.025 0.201</pos>
<size>0.39 0.711</size>
<horizontalAlignment>left</horizontalAlignment>
<horizontalMargin>0.01</horizontalMargin>
<fontPath>./core/fonts/Exo2-BoldCondensed.otf</fontPath>
<fontSize>0.025</fontSize>
<letterCase>uppercase</letterCase>
</textlist>
<text name="game_counter">
<fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
<fontSize>0.035</fontSize>
<pos>0.45 0.225</pos>
<size>0.4 0.056</size>
<origin>0 0.5</origin>
<letterCase>uppercase</letterCase>
<horizontalAlignment>left</horizontalAlignment>
<systemdata>gamecount</systemdata>
<zIndex>50</zIndex>
</text>
<image name="consolegame">
<pos>0.45 0.29</pos>
<maxSize>0.35 0.28</maxSize>
<origin>0 0</origin>
</image>
<image name="controller">
<pos>0.94 0.29</pos>
<maxSize>0.12 0.28</maxSize>
<origin>1 0</origin>
</image>
<image name="backframe2">
<pos>0.02 0.19</pos>
<size>0.4 0.735</size>
<origin>0 0</origin>
<path>./core/images/frame.png</path>
<zIndex>10</zIndex>
</image>
<image name="backframe3">
<pos>0.44 0.19</pos>
<size>0.54 0.735</size>
<origin>0 0</origin>
<path>./core/images/frame.png</path>
<zIndex>10</zIndex>
</image>
<image name="logo">
<pos>0.02 0.17</pos>
<maxSize>0.32 0.13</maxSize>
<origin>0 1</origin>
</image>
<text name="info1">
<pos>0.45 0.665</pos>
<horizontalAlignment>left</horizontalAlignment>
</text>
<text name="info2">
<pos>0.45 0.686</pos>
<horizontalAlignment>left</horizontalAlignment>
</text>
<text name="info3">
<pos>0.45 0.707</pos>
<horizontalAlignment>left</horizontalAlignment>
</text>
<text name="info4">
<pos>0.45 0.728</pos>
<horizontalAlignment>left</horizontalAlignment>
</text>
<text name="info5">
<pos>0.45 0.769</pos>
<horizontalAlignment>left</horizontalAlignment>
</text>
<text name="info6">
<pos>0.45 0.790</pos>
<horizontalAlignment>left</horizontalAlignment>
</text>
<text name="info7">
<pos>0.45 0.811</pos>
<horizontalAlignment>left</horizontalAlignment>
</text>
<text name="info8">
<pos>0.45 0.832</pos>
<horizontalAlignment>left</horizontalAlignment>
</text>
<text name="info9">
<pos>0.45 0.853</pos>
<horizontalAlignment>left</horizontalAlignment>
</text>
<text name="info10">
<pos>0.45 0.874</pos>
<horizontalAlignment>left</horizontalAlignment>
</text>
</view>
<!-- System view colors. -->
<view name="system">
<text name="game_counter">
<color>202020</color>
<backgroundColor>00000000</backgroundColor>
</text>
<text name="info1, info2, info3, info4, info5, info6, info7, info8, info9, info10">
<color>262626</color>
</text>
<image name="background">
<color>707070</color>
</image>
<text name="logoText">
<color>262626</color>
</text>
<helpsystem name="help">
<textColor>C6C6C6</textColor>
<iconColor>C6C6C6</iconColor>
<textColorDimmed>B6B6B6</textColorDimmed>
<iconColorDimmed>B6B6B6</iconColorDimmed>
<entrySpacing>0.00833</entrySpacing>
<iconTextSpacing>0.00416</iconTextSpacing>
<fontSize>0.035</fontSize>
</helpsystem>
<textlist name="textlist_gamelist">
<selectorColor>161616</selectorColor>
<selectedColor>AFAFAF</selectedColor>
<primaryColor>262626</primaryColor>
<secondaryColor>333333</secondaryColor>
</textlist>
<image name="backframe2">
<color>9F9F9F</color>
</image>
<image name="backframe3">
<color>9F9F9F</color>
</image>
</view>
<!-- Default band colors (used if a system is unthemed). -->
<view name="system, gamelist">
<image name="band1">
<color>F6DD08</color>
</image>
<image name="band2">
<color>800000</color>
</image>
<image name="band3">
<color>FF0000</color>
</image>
<image name="band4">
<color>303030</color>
</image>
</view>
<view name="gamelist">
<carousel name="system_carousel">
<type>vertical</type>
<pos>0.025 0.201</pos>
<size>0.39 0.711</size>
<logoHorizontalAlignment>center</logoHorizontalAlignment>
<logo>./${system.theme}/images/logo.svg</logo>
<logoScale>1.23</logoScale>
<logoSize>0.25 0.125</logoSize>
<fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
<fontSize>0.070</fontSize>
<letterCase>uppercase</letterCase>
<lineSpacing>1.2</lineSpacing>
<text>${system.fullName}</text>
<maxLogoCount>5</maxLogoCount>
<zIndex>80</zIndex>
</carousel>
<image name="md_image">
<origin>0.5 0.5</origin>
<pos>0.63 0.45</pos>
<maxSize>0.360 0.424</maxSize>
<imageType>image</imageType>
<interpolation>nearest</interpolation>
<scrollFadeIn>true</scrollFadeIn>
</image>
</view>
<!-- Gamelist view colors. -->
<view name="gamelist">
<carousel name="system_carousel">
<color>74747400</color>
<textColor>262626</textColor>
</carousel>
<helpsystem name="help">
<textColor>262626</textColor>
<iconColor>262626</iconColor>
<textColorDimmed>B6B6B6</textColorDimmed>
<iconColorDimmed>B6B6B6</iconColorDimmed>
</helpsystem>
<image name="background">
<color>707070</color>
</image>
<gamelistinfo name="gamelistInfo">
<color>505050</color>
</gamelistinfo>
</view>
<variant name="noMedia">
<view name="gamelist">
<image name="backframe1">
<color>9F9F9F</color>
</image>
</view>
</variant>
<view name="gamelist">
<image name="backframe2">
<color>9F9F9F</color>
</image>
<image name="backframe3">
<color>9F9F9F</color>
</image>
<text name="md_lbl_rating, md_lbl_releasedate, md_lbl_developer,
md_lbl_publisher, md_lbl_genre, md_lbl_players,
md_lbl_lastplayed, md_lbl_playcount, md_developer,
md_publisher, md_genre, md_players, md_playcount,
md_description">
<color>262626</color>
</text>
<datetime name="md_releasedate, md_lastplayed">
<color>262626</color>
</datetime>
</view>
</theme>