<theme>
    <!-- Test of system textlist and horizontal gamelist carousel with reflections -->

    <include>./colors_dark.xml</include>

    <view name="system">
        <textlist name="gamelist_textlist">
            <pos>0.025 0.201</pos>
            <size>0.39 0.711</size>
            <fontPath>./core/fonts/Exo2-BoldCondensed.otf</fontPath>
            <fontSize>0.025</fontSize>
            <horizontalAlignment>left</horizontalAlignment>
            <horizontalMargin>0.01</horizontalMargin>
            <letterCase>uppercase</letterCase>
        </textlist>
        <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>
            <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>
            <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="game_counter">
            <pos>0.45 0.225</pos>
            <size>0.4 0.056</size>
            <origin>0 0.5</origin>
            <systemdata>gamecount</systemdata>
            <fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
            <fontSize>0.035</fontSize>
            <horizontalAlignment>left</horizontalAlignment>
            <letterCase>uppercase</letterCase>
            <zIndex>50</zIndex>
        </text>
        <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>

    <view name="gamelist">
        <carousel name="gamelist_carousel">
            <pos>0.025 0.231</pos>
            <size>0.95 0.692</size>
            <type>horizontal</type>
            <itemType>cover</itemType>
            <maxItemCount>5</maxItemCount>
            <itemSize>0.105 0.235</itemSize>
            <itemScale>1.53</itemScale>
            <itemInterpolation>linear</itemInterpolation>
            <itemVerticalAlignment>center</itemVerticalAlignment>
            <verticalOffset>0.1</verticalOffset>
            <reflections>true</reflections>
            <reflectionsOpacity>0.3</reflectionsOpacity>
            <reflectionsFalloff>1.2</reflectionsFalloff>
            <unfocusedItemOpacity>1</unfocusedItemOpacity>
            <textBackgroundColor>323232CC</textBackgroundColor>
            <fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
            <fontSize>0.032</fontSize>
            <letterCase>uppercase</letterCase>
            <lineSpacing>1.2</lineSpacing>
            <zIndex>60</zIndex>
        </carousel>
        <image name="backframe2">
            <pos>0.5 0.19</pos>
            <size>0.96 0.735</size>
            <origin>0.5 0</origin>
            <path>./core/images/frame.png</path>
            <zIndex>10</zIndex>
        </image>
        <text name="game_name">
            <pos>0.5 0.77</pos>
            <size>0.95 0.08</size>
            <origin>0.5 0</origin>
            <metadata>name</metadata>
            <gameselector>selector_recent</gameselector>
            <fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
            <fontSize>0.045</fontSize>
            <horizontalAlignment>center</horizontalAlignment>
            <verticalAlignment>center</verticalAlignment>
            <letterCase>none</letterCase>
            <zIndex>80</zIndex>
        </text>
        <text name="md_description">
            <pos>0.025 0.205</pos>
            <size>0.446 0.185</size>
            <fontSize>0.02</fontSize>
            <lineSpacing>1.2</lineSpacing>
        </text>
        <rating name="md_rating">
            <pos>0.815 0.203</pos>
            <size>0.04 0.03</size>
        </rating>
        <badges name="md_badges">
            <pos>0.03 0.205</pos>
            <size>0.38 0.08</size>
            <lines>1</lines>
            <itemsPerLine>10</itemsPerLine>
        </badges>
        <!-- Hide some unwanted elements -->
        <image name="backframe3">
            <visible>false</visible>
        </image>
        <text name="md_lbl_publisher, md_lbl_releasedate, md_lbl_developer, md_lbl_genre,
            md_lbl_players, md_lbl_lastplayed, md_developer, md_publisher, md_genre,
            md_players, md_description">
            <visible>false</visible>
        </text>
        <datetime name="md_releasedate md_lastplayed">
            <visible>false</visible>
        </datetime>
        <rating name="md_rating">
            <visible>false</visible>
        </rating>
    </view>

    <!-- Color customizations -->
    <view name="system">
        <textlist name="gamelist_textlist">
            <selectorColor>161616</selectorColor>
            <selectedColor>AFAFAF</selectedColor>
            <primaryColor>262626</primaryColor>
            <secondaryColor>333333</secondaryColor>
        </textlist>
        <image name="backframe2">
            <color>6F6F6F</color>
        </image>
        <image name="backframe3">
            <color>6F6F6F</color>
        </image>
        <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>
    </view>

    <view name="gamelist">
        <carousel name="gamelist_carousel">
            <color>74747400</color>
            <textColor>949494</textColor>
        </carousel>
        <image name="backframe2">
            <color>181818</color>
        </image>
        <text name="game_name">
            <color>D6D6D6</color>
        </text>
        <gamelistinfo name="gamelistInfo">
            <color>888888</color>
        </gamelistinfo>
        <helpsystem name="help">
            <textColor>A6A6A6</textColor>
            <iconColor>A6A6A6</iconColor>
            <textColorDimmed>969696</textColorDimmed>
            <iconColorDimmed>969696</iconColorDimmed>
        </helpsystem>
    </view>
</theme>