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

    <view name="system">
        <textlist name="system_textlist">
            <pos>0.025 0.201</pos>
            <size>0.39 0.711</size>
            <selectorColor>${gamelistTextlistSelectorColor}</selectorColor>
            <selectedColor>${gamelistTextlistSelectedColor}</selectedColor>
            <primaryColor>${gamelistTextlistPrimaryColor}</primaryColor>
            <secondaryColor>${gamelistTextlistSecondaryColor}</secondaryColor>
            <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>
            <color>${gamelistBackFrameColor}</color>
            <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>
            <color>${gamelistBackFrameColor}</color>
            <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>
            <backgroundColor>00000000</backgroundColor>
            <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>
        <helpsystem name="help">
            <pos>0.012 0.955</pos>
            <textColor>${gamelistHelpColor}</textColor>
            <iconColor>${gamelistHelpColor}</iconColor>
            <textColorDimmed>${gamelistHelpColorDimmed}</textColorDimmed>
            <iconColorDimmed>${gamelistHelpColorDimmed}</iconColorDimmed>
        </helpsystem>
    </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>
            <color>00000000</color>
            <textColor>949494</textColor>
            <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>
            <color>181818</color>
            <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>
            <color>D6D6D6</color>
            <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>
        <gamelistinfo name="gamelistInfo">
            <color>888888</color>
        </gamelistinfo>
        <badges name="md_badges">
            <pos>0.03 0.205</pos>
            <size>0.38 0.08</size>
            <lines>1</lines>
            <itemsPerLine>10</itemsPerLine>
        </badges>
        <helpsystem name="help">
            <pos>0.012 0.955</pos>
            <textColor>${gamelistHelpColor}</textColor>
            <iconColor>${gamelistHelpColor}</iconColor>
            <textColorDimmed>${gamelistHelpColorDimmed}</textColorDimmed>
            <iconColorDimmed>${gamelistHelpColorDimmed}</iconColorDimmed>
        </helpsystem>
        <!-- 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>

    <aspectRatio name="4:3">
        <view name="system, gamelist">
            <helpsystem name="help">
                <fontSize>0.034</fontSize>
            </helpsystem>
        </view>
        <view name="gamelist">
            <carousel name="gamelist_carousel">
                <itemSize>0.12 0.225</itemSize>
            </carousel>
        </view>
    </aspectRatio>
</theme>