mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
(modern-DE) Added variant trigger support.
This commit is contained in:
parent
c6ae192acf
commit
cb7a3d6929
|
@ -19,10 +19,25 @@
|
||||||
<variant name="withVideos">
|
<variant name="withVideos">
|
||||||
<label>Textlist with videos</label>
|
<label>Textlist with videos</label>
|
||||||
<selectable>true</selectable>
|
<selectable>true</selectable>
|
||||||
|
<override>
|
||||||
|
<trigger>noMedia</trigger>
|
||||||
|
<mediaType>miximage, screenshot, cover, video</mediaType>
|
||||||
|
<useVariant>noGameMedia</useVariant>
|
||||||
|
</override>
|
||||||
</variant>
|
</variant>
|
||||||
|
|
||||||
<variant name="withoutVideos">
|
<variant name="withoutVideos">
|
||||||
<label>Textlist without videos</label>
|
<label>Textlist without videos</label>
|
||||||
<selectable>true</selectable>
|
<selectable>true</selectable>
|
||||||
|
<override>
|
||||||
|
<trigger>noMedia</trigger>
|
||||||
|
<mediaType>miximage, screenshot, cover</mediaType>
|
||||||
|
<useVariant>noGameMedia</useVariant>
|
||||||
|
</override>
|
||||||
|
</variant>
|
||||||
|
|
||||||
|
<variant name="noGameMedia">
|
||||||
|
<label>No game media</label>
|
||||||
|
<selectable>false</selectable>
|
||||||
</variant>
|
</variant>
|
||||||
</themeCapabilities>
|
</themeCapabilities>
|
|
@ -308,11 +308,11 @@
|
||||||
<metadataElement>true</metadataElement>
|
<metadataElement>true</metadataElement>
|
||||||
<fontSize>0.02</fontSize>
|
<fontSize>0.02</fontSize>
|
||||||
</text>
|
</text>
|
||||||
<text name="md_lbl_releasedate, md_lbl_developer, md_lbl_publisher, md_lbl_genre,
|
<text name="md_lbl_publisher, md_lbl_developer, md_lbl_releasedate, md_lbl_players,
|
||||||
md_lbl_players, md_lbl_lastplayed, md_lbl_playcount, md_lbl_rating">
|
md_lbl_genre, md_lbl_rating">
|
||||||
<color>${tertiaryColor}</color>
|
<color>${tertiaryColor}</color>
|
||||||
</text>
|
</text>
|
||||||
<text name="md_developer, md_publisher, md_genre, md_players, md_playcount, md_description">
|
<text name="md_publisher, md_developer, md_players, md_genre, md_description">
|
||||||
<color>${secondaryColor}</color>
|
<color>${secondaryColor}</color>
|
||||||
</text>
|
</text>
|
||||||
<datetime name="md_releasedate">
|
<datetime name="md_releasedate">
|
||||||
|
@ -391,4 +391,41 @@
|
||||||
</image>
|
</image>
|
||||||
</view>
|
</view>
|
||||||
</variant>
|
</variant>
|
||||||
|
|
||||||
|
<variant name="noGameMedia">
|
||||||
|
<view name="gamelist">
|
||||||
|
<textlist name="gamelist">
|
||||||
|
<pos>0.04 0.182</pos>
|
||||||
|
<size>0.924 0.682</size>
|
||||||
|
<selectorColor>00000000</selectorColor>
|
||||||
|
<horizontalAlignment>center</horizontalAlignment>
|
||||||
|
</textlist>
|
||||||
|
<image name="md_marquee">
|
||||||
|
<visible>false</visible>
|
||||||
|
</image>
|
||||||
|
<image name="md_background">
|
||||||
|
<visible>false</visible>
|
||||||
|
</image>
|
||||||
|
<image name="md_background_grad_top">
|
||||||
|
<visible>false</visible>
|
||||||
|
</image>
|
||||||
|
<image name="md_background_grad_bottom">
|
||||||
|
<visible>false</visible>
|
||||||
|
</image>
|
||||||
|
<badges name="md_badges">
|
||||||
|
<visible>false</visible>
|
||||||
|
</badges>
|
||||||
|
<text name="md_lbl_publisher, md_lbl_developer, md_lbl_releasedate, md_lbl_players,
|
||||||
|
md_lbl_genre, md_lbl_rating, md_publisher, md_developer, md_players,
|
||||||
|
md_genre, md_description">
|
||||||
|
<visible>false</visible>
|
||||||
|
</text>
|
||||||
|
<datetime name="md_releasedate">
|
||||||
|
<visible>false</visible>
|
||||||
|
</datetime>
|
||||||
|
<rating name="md_rating">
|
||||||
|
<visible>false</visible>
|
||||||
|
</rating>
|
||||||
|
</view>
|
||||||
|
</variant>
|
||||||
</theme>
|
</theme>
|
Loading…
Reference in a new issue