<!--
Theme: AX-SlideMix
Author: SMD © 2024
-->

<theme>
  <formatVersion>7</formatVersion>

  <!--Help Settings-->
  <view name="system, basic, detailed, grid, video">
    <helpsystem name="help">
      <fontPath>${fontHelper}</fontPath>
      <fontSize>${fontSizeBody-medium}</fontSize>
      <fontSize ifSubset="FontSize:large">${fontSizeBody-large}</fontSize>
      <fontSize ifSubset="FontSize:small">${fontSizeBody-small}</fontSize>
      <origin>0 0.5</origin>
      <pos>0.016666667 0.96</pos>
    </helpsystem>

    <image name="borderOverlay" extra="true">
      <path ifSubset="Ratio:ratio32">./assets/ratio32/borders.png</path>
      <path ifSubset="Ratio:wallpapers">./assets/wallpapers/borders.png</path>
      <path ifSubset="Ratio:ratio53">./assets/ratio53/borders.png</path>

      <pos>0 0</pos>
      <origin>0 0</origin>
      <size>1 1</size>
      <zIndex>100</zIndex>
    </image>
  </view>

  <!--Common view settings-->
  <view name="basic, detailed, grid, video">
    <text name="logoText">
      <fontPath>${fontBold}</fontPath>
      <fontSize>${fontSizeH2-medium}</fontSize>
      <fontSize ifSubset="FontSize:large">${fontSizeH2-large}</fontSize>
      <fontSize ifSubset="FontSize:small">${fontSizeH2-small}</fontSize>
      <forceUppercase>0</forceUppercase>
      <alignment>left</alignment>
      <zIndex>5</zIndex>
    </text>

    <textlist name="gamelist">
      <fontPath>${fontRegular}</fontPath>
      <fontSize>${fontSizeBody-medium}</fontSize>
      <fontSize ifSubset="FontSize:large">${fontSizeBody-large}</fontSize>
      <fontSize ifSubset="FontSize:small">${fontSizeBody-small}</fontSize>
      <alignment>left</alignment>
      <origin>0 0</origin>
      <zIndex>5</zIndex>
    </textlist>

    <image name="background">
      <path>./assets/background.png</path>
      <pos>0 0</pos>
      <origin>0 0</origin>
      <size>1 1</size>
      <zIndex>-10</zIndex>
    </image>

    <image name="cover_list" extra="true">
      <path>./assets/systems/${system.theme}.webp</path>
      <opacity>0.3</opacity>
      <size>1 0</size>
      <origin>0 0.5</origin>
      <pos>0 0.125</pos>
      <zIndex>-5</zIndex>
    </image>

    <image name="cover_list" extra="true" ifSubset="Background Style:custom">
    <path>./assets/systems/games.jpg</path>

      <path>./customBackground/general.jpg</path>
      <path>./customBackground/general.jpeg</path>
      <path>./customBackground/general.png</path>
      <path>./customBackground/general.webp</path>
    </image>

    <image name="custom_bg_fg" extra="true">
      <path>./assets/ratio32/gamelist-basic.png</path>
      <path ifSubset="Ratio:wallpapers">./assets/wallpapers/gamelist-basic.png</path>
      <path ifSubset="Ratio:ratio53">./assets/ratio53/gamelist-basic.png</path>
      <size>1 1</size>
      <origin>0 0</origin>
      <pos>0 0</pos>
      <zIndex>-4</zIndex>
    </image>
  </view>

  <view name="basic, detailed, video">
    <text name="logoText">
      <pos>0.033333 0.1</pos>      <!--480x320 / 16x 32y-->
      <size>0.933333 ${fontSizeH2-medium}</size>      <!-- 480x320 / 448x -->
      <origin>0 0.5</origin>
    </text>

    <textlist name="gamelist">
      <pos>0 0.2</pos>      <!-- 480x320 / 0x 64y -->
      <horizontalMargin>0.033333</horizontalMargin>      <!-- 16px -->
      <scrollSound>./sounds/scroll.wav</scrollSound>
      <lineSpacing>1.55</lineSpacing>
      <lineSpacing ifHelpPrompts="true">1.6</lineSpacing>
      <lineSpacing ifHelpPrompts="true" ifSubset="FontSize:small">1.675</lineSpacing>

      <lineSpacing ifSubset="Ratio:wallpapers">1.5</lineSpacing>
      <lineSpacing ifSubset="Ratio:wallpapers" ifHelpPrompts="true">1.525</lineSpacing>

      <lineSpacing ifSubset="Ratio:ratio53">1.6</lineSpacing>
      <lineSpacing ifSubset="Ratio:ratio53" ifHelpPrompts="true">1.575</lineSpacing>
    </textlist>
  </view>

  <view name="video">
    <textlist name="gamelist">
      <lineSpacing ifHelpPrompts="true" ifSubset="FontSize:small">1.7</lineSpacing>
    </textlist>
  </view>

  <view name="basic">
    <textlist name="gamelist">
      <size>1 0.8</size>      <!-- 480x320 / 480x 256y-->
      <size ifHelpPrompts="true">1 0.725</size>      <!-- 480x320 / 480x 232y-->
    </textlist>
  </view>

  <view name="detailed">
    <textlist name="gamelist">
      <size>0.466667 0.8</size>      <!-- 480x320 / 224x 256y-->
      <size ifHelpPrompts="true">0.466667 0.725</size>      <!-- 480x320 / 224x 232y-->
    </textlist>

    <image name="md_image">
      <pos>0.733333 0.460</pos>      <!-- 480x320 / (240 + maxWidth / 2 = 352)x (80 + maxHeight / 2 = 168)y -->
      <origin>0.5 0.5</origin>
      <maxSize>0.530 0.722222222222222</maxSize>      <!-- 480x320 / 224x 176y -->
      <zIndex>5</zIndex>
      <roundCorners>0.02</roundCorners>
    </image>

    <image name="md_marquee">
      <pos>0.733333 0.25</pos>      <!-- 480x320 / 352x 80y -->
      <origin>0.5 0.5</origin>
      <maxSize>0.4 0.175</maxSize>      <!-- 480x320 / 192x 56y -->
      <zIndex>6</zIndex>
    </image>

    <rating name="md_rating">
      <origin>0 0</origin>

      <pos>0.61 0.83125</pos>      <!-- 480x320 / 304x 272y-->
      <pos ifSubset="Ratio:wallpapers">0.6075 0.83125</pos>
      <pos ifSubset="Ratio:ratio53">0.62 0.83125</pos>

      <size>0.075</size>
      <size ifSubset="Ratio:wallpapers">0.066667</size>

      <filledPath>./assets/icons/star.svg</filledPath>
      <unfilledPath>./assets/icons/star_border.svg</unfilledPath>

      <zIndex>5</zIndex>
    </rating>

    <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_releasedate, md_developer, md_publisher, md_genre, md_players, md_lastplayed, md_playcount, md_description, md_name">
      <visible>false</visible>
    </text>

    <datetime name="md_releasedate, md_lastplayed">
      <visible>false</visible>
    </datetime>
  </view>


  <view name="video">
    <textlist name="gamelist">
      <size>0.466667 0.8</size>      <!-- 480x320 / 224x 256y-->
      <size ifHelpPrompts="true">0.466667 0.725</size>      <!-- 480x320 / 224x 232y-->
    </textlist>

    <image name="md_image">
      <pos>0.733333 0.460</pos>      <!-- 480x320 / (240 + maxWidth / 2 = 352)x (80 + maxHeight / 2 = 168)y -->
      <origin>0.5 0.5</origin>
      <maxSize>0.530 0.722222222222222</maxSize>      <!-- 480x320 / 224x 176y -->
      <zIndex>5</zIndex>
      <roundCorners>0.02</roundCorners>
    </image>

    <image name="md_marquee">
      <pos>0.733333 0.25</pos>      <!-- 480x320 / 352x 80y -->
      <origin>0.5 0.5</origin>
      <maxSize>0.4 0.175</maxSize>      <!-- 480x320 / 192x 56y -->
      <zIndex>6</zIndex>
    </image>

    <rating name="md_rating">
      <origin>0 0</origin>

      <pos>0.61 0.83125</pos>      <!-- 480x320 / 304x 272y-->
      <pos ifSubset="Ratio:wallpapers">0.6075 0.83125</pos>


      <size>0.075</size>
      <size ifSubset="Ratio:wallpapers">0.066667</size>

      <filledPath>./assets/icons/star.svg</filledPath>
      <unfilledPath>./assets/icons/star_border.svg</unfilledPath>

      <zIndex>5</zIndex>
    </rating>

    <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_releasedate, md_developer, md_publisher, md_genre, md_players, md_lastplayed, md_playcount, md_description, md_name">
      <visible>false</visible>
    </text>

    <datetime name="md_releasedate, md_lastplayed">
      <visible>false</visible>
    </datetime>
  </view>


</theme>
