#include <templates.gui>

SingleMatch
{
  zorder 10
  onShow SingleMatchShow

  container Text(LogoSingleMatch) : logo_text_small
  {
    left 10.4
    top 13.6
    caption #005
  }

  container Panel
  {
    left -7
    top 7.5
    width 150
    height 150
    shader menu\logo_small
  }

  container Text : selector_text
  {
    left 309.6
    top 43.2
    width 116
    height 10
    alignment center
    caption #033
  }
  
  container Text(Overall1) : text_digital
  {
    left 318
    top 64
    caption 88
  }

  container Text(Overall2) : text_digital
  {
    left 374
    top 64
    caption 88
  }

  container Panel(Flag1)
  {
    left 218.4
    top 53.6
    width 88.8
    height 48.8
    shader SVK_a
  }
  
  container Panel(Flag2)
  {
    left 424
    top 53.6
    width 88.8
    height 48.8
    shader CAN_a
  }

  container TextSelector2(Team1) : selector_2buttons
  {
    left 165
    top 128.8
    onClick SingleMatchClick
    tooltip #500
  }

  container TextSelector2(Team2) : selector_2buttons
  {
    left 385
    top 128.8
    onClick SingleMatchClick
    tooltip #500
  }

  container Text : text_border
  {
    left 259.2
    top 164
    caption #009
    tooltip #501
    visible false

    element TextSelector(NumEnds1) : selector_click
    {
      left -20
      horzAlign right
      vertAlign center
      tooltip #501
      item 3
      item 5
      item 8
      item 10
    }
  }

  container Text : text_border
  {
    left 259.2
    top 201
    caption #010
    tooltip #502
    visible false

    element TextSelector(FreeGuard1) : selector_click
    {
      left -20
      horzAlign right
      vertAlign center
      tooltip #502
      item #015
      item #016
      item #017
    }
  }

  container Text : text_border
  {
    left 259.2
    top 238
    caption #011
    tooltip #503
    visible false

    element TextSelector(Arena1) : selector_click
    {
      left -20
      horzAlign right
      vertAlign center
      onClick SingleMatchClick
      tooltip #503
      item #018
      item #019
      item #020
      item #154
    }
  }

  container Text : text_border
  {
    left 259.2
    top 275
    caption #012
    tooltip #504
    visible false

    element TextSelector(TimeLimit1) : selector_click
    {
      left -20
      horzAlign right
      vertAlign center
      tooltip #504
      item #015
      item #021
      item #022
      item #023
    }
  }

  container Text : selector_text
  {
    left 257.2
    top 176.6
    alignment right
    caption #013
  }

  container TextSelector2(PlayerType1) : selector_left
  {
    left 267.2
    top 183.6
    onClick SingleMatchClick
    tooltip #505
    item #024
    item #025
  }

  container Text(PlayerTxt1) : selector_text
  {
    left 339.8
    top 220.4
    alignment left
    caption #030
  }

  container TextSelector2(PlayerDiff1) : selector_left
  {
    left 322.8
    top 227.4
    tooltip #506
    item #031
    //item #032
  }

  container Text : selector_text
  {
    left 402.8
    top 176.6
    alignment left
    caption #013
  }

  container TextSelector2(PlayerType2) : selector_right
  {
    left 382.3
    top 183.6
    onClick SingleMatchClick
    tooltip #505
    item #024
    item #025
  }

  container Text(PlayerTxt2) : selector_text
  {
    left 339.8
    top 220.4
    alignment left
    caption #030
  }

  container TextSelector2(PlayerDiff2) : selector_right
  {
    left 322.8
    top 227.4
    tooltip #506
    item #031
    item #032
  }

  container Model(Model1)
  {
    left 10
    top 60
    width 320
    athlet 1
    anim 0 1 2 3 4 5
    camera 389 -3 73
    position 2 -50 -52
    dressnum 1
    mirror true
  }

  container Model(Model2)
  {
    left 400
    top 60
    width 320
    athlet 1
    anim 0 1 2 3 4 5
    camera 389 -3 73
    position 2 77 -52
    dressnum 1
  }

  container Button(Back2) : back_button
  {
    zOrder 1
    onClick SingleMatchClick
  }

  container Button(Start2) : start_button
  {
    zOrder 1
    onClick SingleMatchClick
  }

  effect Scroll
  {
    element LogoSingleMatch
    speed 400
    dump 100
    direction right
    start 0
  }
}

