<!--
Theme: Recalbox Simple for EmulationStation Desktop Edition (rbsimple-DE)
version: 1.0
author: Leon Styhre
license: creative commons CC-BY-NC-SA
based on: 'recalbox-multi' by the Recalbox community
-->

<theme>
    <formatVersion>6</formatVersion>
    <include>./colors.xml</include>
    <include>./navigationsounds.xml</include>

    <view name="system">
        <text name="info1, info2, info3, info4, info5,
                    info6, info7, info8, info9, info10,
                    info11, info12" extra="true">
            <alignment>left</alignment>
            <fontPath>./core/fonts/Exo2-SemiBoldCondensed.otf</fontPath>
            <fontSize>0.021</fontSize>
            <size>0.4 0.03</size>
            <zIndex>40</zIndex>
        </text>
        <image name="consolegame" extra="true">
            <pos>0.02 0.30</pos>
            <maxSize>0.4 0.25</maxSize>
            <origin>0 1</origin>
        </image>
        <image name="controller" extra="true">
            <pos>0.78 0.30</pos>
            <maxSize>0.15 0.25</maxSize>
            <origin>1 1</origin>
        </image>
        <text name="info1" extra="true">
            <pos>0.38 0.72</pos>
        </text>
        <text name="info2" extra="true">
            <pos>0.38 0.74</pos>
        </text>
        <text name="info3" extra="true">
            <pos>0.38 0.76</pos>
        </text>
        <text name="info4" extra="true">
            <pos>0.38 0.78</pos>
        </text>
        <text name="info5" extra="true">
            <pos>0.38 0.82</pos>
        </text>
        <text name="info6" extra="true">
            <pos>0.38 0.84</pos>
        </text>
        <text name="info7" extra="true">
            <pos>0.38 0.86</pos>
        </text>
        <text name="info8" extra="true">
            <pos>0.38 0.88</pos>
        </text>
        <text name="info9" extra="true">
            <pos>0.38 0.90</pos>
        </text>
        <text name="info10" extra="true">
            <pos>0.38 0.92</pos>
        </text>
    </view>

    <view name="system, basic, detailed, video, grid">
        <image name="background" extra="true">
            <tile>true</tile>
            <size>1 1</size>
            <pos>0 0</pos>
            <origin>0 0</origin>
            <path>./core/images/back.png</path>
        </image>
        <image name="band1" extra="true">
            <size>0.03 1</size>
            <pos>0.80 0</pos>
            <origin>0 0</origin>
            <path>./core/images/band.png</path>
        </image>
        <image name="band2" extra="true">
            <size>0.03 1</size>
            <pos>0.829 0</pos>
            <origin>0 0</origin>
            <path>./core/images/band.png</path>
        </image>
        <image name="band3" extra="true">
            <size>0.03 1</size>
            <pos>0.858 0</pos>
            <origin>0 0</origin>
            <path>./core/images/band.png</path>
        </image>
        <image name="band4" extra="true">
            <size>0.03 1</size>
            <pos>0.887 0</pos>
            <origin>0 0</origin>
            <path>./core/images/band.png</path>
        </image>
    </view>

    <view name="basic, detailed, video">
        <image name="consolegame" extra="true">
            <pos>0.02 0.17</pos>
            <maxSize>0.4 0.15</maxSize>
            <origin>0 1</origin>
        </image>
        <image name="logo">
            <pos>0.78 0.17</pos>
            <maxSize>0.34 0.15</maxSize>
            <origin>1 1</origin>
        </image>
        <image name="console" extra="false">
            <pos>1 1</pos>
            <maxSize>0.01 0.01</maxSize>
            <origin>0 0</origin>
        </image>
        <text name="md_lbl_playcount, md_playcount">
                <pos>1 1</pos>
        </text>
        <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_favorite">
            <forceUppercase>1</forceUppercase>
            <fontPath>./core/fonts/Exo2-BoldCondensed.otf</fontPath>
            <fontSize>0.02</fontSize>
            <size>0.144 0.02</size>
        </text>
        <text name="md_developer, md_publisher, md_genre,
                    md_players, md_favorite">
            <forceUppercase>1</forceUppercase>
            <fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
            <fontSize>0.02</fontSize>
            <size>0.144 0.02</size>
        </text>
        <text name="control" extra="true">
            <forceUppercase>1</forceUppercase>
            <fontPath>./core/fonts/Exo2-BoldCondensed.otf</fontPath>
            <fontSize>0.02</fontSize>
        </text>
        <text name="no_image" extra="true">
            <forceUppercase>1</forceUppercase>
            <fontPath>./core/fonts/Exo2-BoldCondensed.otf</fontPath>
            <fontSize>0.02</fontSize>
        </text>
        <text name="md_description">
            <forceUppercase>1</forceUppercase>
            <fontPath>./core/fonts/Exo2-SemiBoldCondensed.otf</fontPath>
            <fontSize>0.024</fontSize>
        </text>
        <datetime name="md_releasedate, md_lastplayed">
            <forceUppercase>1</forceUppercase>
            <fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
            <fontSize>0.02</fontSize>
            <size>0 0.02</size>
        </datetime>
        <textlist name="gamelist">
            <fontPath>./core/fonts/Exo2-BoldCondensed.otf</fontPath>
            <fontSize>0.025</fontSize>
            <forceUppercase>1</forceUppercase>
        </textlist>
    </view>

    <view name="detailed, video">
        <image name="backtext2" extra="true">
            <pos>0.02 0.19</pos>
            <size>0.4 0.735</size>
            <origin>0 0</origin>
            <path>./core/images/back_alpha.png</path>
        </image>
        <image name="backtext3" extra="true">
            <pos>0.44 0.19</pos>
            <size>0.54 0.735</size>
            <origin>0 0</origin>
            <path>./core/images/back_alpha.png</path>
        </image>
        <text name="md_players, md_genre, md_developer, md_publisher">
            <size>0.14 0.023</size>
        </text>
        <text name="md_lbl_releasedate">
            <pos>0.815 0.2255</pos>
        </text>
        <datetime name="md_releasedate">
            <pos>0.83 0.2455</pos>
        </datetime>
        <text name="md_lbl_developer">
            <pos>0.815 0.2755</pos>
        </text>
        <text name="md_developer">
            <pos>0.83 0.2955</pos>
        </text>
        <text name="md_lbl_publisher">
            <pos>0.815 0.3255</pos>
        </text>
        <text name="md_publisher">
            <pos>0.83 0.3455</pos>
        </text>
        <text name="md_lbl_genre">
            <pos>0.815 0.3755</pos>
        </text>
        <text name="md_genre">
            <pos>0.83 0.3955</pos>
        </text>
        <text name="md_lbl_players">
            <pos>0.815 0.4255</pos>
        </text>
        <text name="md_players">
            <pos>0.83 0.4455</pos>
        </text>
        <text name="md_lbl_lastplayed">
            <pos>0.815 0.4755</pos>
        </text>
        <datetime name="md_lastplayed">
            <pos>0.83 0.4955</pos>
        </datetime>
        <text name="md_lbl_favorite">
            <pos>0.815 0.5755</pos>
        </text>
        <text name="md_favorite">
            <pos>0.83 0.5955</pos>
        </text>
        <text name="md_lbl_rating">
            <pos>1 1</pos>
            <fontPath>./core/fonts/blank.ttf</fontPath>
        </text>
        <rating name="md_rating">
            <pos>0.453 0.203</pos>
            <filledPath>./core/images/rating_filled.svg</filledPath>
            <unfilledPath>./core/images/rating_empty.svg</unfilledPath>
            <size>0.04 0.03</size>
        </rating>
        <text name="md_description">
            <lineSpacing>1.2</lineSpacing>
            <pos>0.45 0.67</pos>
            <size>0.515 0.24</size>
            <fontSize>0.02</fontSize>
        </text>
        <textlist name="gamelist">
            <pos>0.025 0.201</pos>
            <size>0.39 0.71</size>
            <alignment>left</alignment>
            <horizontalMargin>0.01</horizontalMargin>
        </textlist>
        <image name="md_marquee">
            <origin>1 1</origin>
            <pos>0.9135 0.165</pos>
            <maxSize>0.11 0.11</maxSize>
        </image>
        <!-- This block prevents additional controls layout elements
             from interfering when mixing layouts-->
        <image name="controls" extra="false">
            <pos>1 1</pos>
        </image>
        <text name="control" extra="false">
        </text>
        <image name="backtext4" extra="false">
        </image>
    </view>

    <view name="basic">
        <image name="backtext1" extra="true">
            <pos>0.02 0.19</pos>
            <size>0.96 0.735</size>
            <origin>0 0</origin>
            <path>./core/images/back_alpha.png</path>
        </image>
        <textlist name="gamelist">
            <pos>0.04 0.21</pos>
            <size>0.92 0.695</size>
            <alignment>center</alignment>
            <horizontalMargin>0.01</horizontalMargin>
        </textlist>
    </view>

    <view name="detailed">
        <image name="md_image">
            <origin>0.5 0.5</origin>
            <pos>0.63 0.45</pos>
            <maxSize>0.360 0.424</maxSize>
        </image>
    </view>

    <feature supported="video">
        <view name="video">
            <video name="md_video">
                <origin>0.5 0.5</origin>
                <pos>0.63 0.45</pos>
                <maxSize>0.360 0.424</maxSize>
                <delay>1.7</delay>
                <showSnapshotNoVideo>true</showSnapshotNoVideo>
                <showSnapshotDelay>true</showSnapshotDelay>
            </video>
        </view>
    </feature>

    <view name="grid">
        <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_lbl_favorite">
            <pos>1 1</pos>
        </text>
        <text name="md_name">
            <forceUppercase>1</forceUppercase>
            <fontPath>./core/fonts/Exo2-BoldCondensed.otf</fontPath>
            <fontSize>0.03</fontSize>
            <size>0.3 0.02</size>
            <alignment>left</alignment>
        </text>
        <imagegrid name="gamegrid">
            <pos>0.05 0.13</pos>
            <margin>0.05 0.05</margin>
        </imagegrid>
        <image name="logo">
            <pos>0.792 0.085</pos>
            <maxSize>0.22 0.07</maxSize>
            <origin>1 1</origin>
        </image>
        <text name="md_name">
            <pos>0.36 0.042</pos>
            <origin>1 1</origin>
        </text>
        <rating name="md_rating">
            <pos>0.062 0.052</pos>
            <filledPath>./core/images/rating_filled.svg</filledPath>
            <unfilledPath>./core/images/rating_empty.svg</unfilledPath>
            <size>0.055 0.035</size>
        </rating>
    </view>
</theme>