#include <templates.gui>

OptionsGfx
{
  zorder 10
  onShow OptionsGfxShow

  container Text(LogoOptionsGfx1) : logo_text_small
  {
    left 10.4
    top 13.6
    caption #074
  }
  
  container Text(LogoOptionsGfx2) : logo_text
  {
    horzAlign center
    left 60
    top 60
    caption #075
  }

  container Panel
  {
    left -7
    top 7.5
    width 150
    height 150
    shader menu\logo_small
  }
  
  container Panel
  {
    left 289
    top 164
    width 250.8
    height 10.4
    zOrder -1
    shader menu\line
  }

  container Panel
  {
    left 289
    top 313.6
    width 250.8
    height 10.4
    zOrder -1
    shader menu\line
  }
  
  container Text : logo_text
  {
    left 171.2
    top 143.5
    zOrder 1
    charHeight 30
    caption #083
  }

  container Panel
  {
    left 8
    top 167.2
    width 552.8
    height 153.6
    shader menu\ladova_plocha

    container Text : selector_textR
    {
      left -293.8
      top 15.7
      caption #084
    }

    container TextSelector2(Resolution) : selector_2buttons
    {
      left 269
      top 7.7
      width 180
      tooltip #545
      item 800 x 600
      item 1024 x 768
      item 1280 x 1024
      item 1600 x 1200
    }

    container Text : selector_textR
    {
      left -293.8
      top 44.2
      caption #085
    }

    container TextSelector2(Mirrors) : selector_2buttons
    {
      left 269
      top 36.2
      width 180
      tooltip #546
      item #036
      item #088
      item #090
    }

    container Text : selector_textR
    {
      left -293.8
      top 72.7
      caption #091
    }

    container TextSelector2(Shadows) : selector_2buttons
    {
      left 269
      top 64.7
      width 180
      tooltip #549
      item #036
      item #088
      item #090
    }

    container Text : selector_textR
    {
      left -293.8
      top 101.2
      caption #086
    }

    container TextSelector2(Players) : selector_2buttons
    {
      left 269
      top 93.2
      width 180
      tooltip #547
      item #088
      item #089
      item #090
    }

    container Text : selector_textR
    {
      left -293.8
      top 129.7
      caption #087
    }

    container TextSelector2(Arena) : selector_2buttons
    {
      left 269
      top 121.7
      width 180
      tooltip #548
      item #088
      item #089
      item #090
    }
  }

  container Text : selector_textR
  {
    left -70
    top 182.9
    caption #092
  }

  container CheckBox(Antialias) : check_base
  {
    left 580
    top 174.9
    tooltip #550
  }

  container Text : selector_textR
  {
    left -70
    top 211.4
    caption #103
  }

  container CheckBox(Fullscreen) : check_base
  {
    left 580
    top 203.4
    tooltip #551
  }

  container Text : selector_textR
  {
    left -70
    top 239.9
    caption #155
  }

  container CheckBox(PostFX) : check_base
  {
    left 580
    top 231.9
    tooltip #569
  }

  container Text : logo_text
  {
    left 171.2
    top 313.7
    charHeight 30
    caption #082
  }

  container Text : selector_textR
  {
    left -378
    top 349.6
    caption #079
  }

  container Panel
  {
    left 272
    top 341.6
    width 242.4
    height 30.4
    shader menu\posuv_big_backg

    container ScrollBar(Brightness) : slider
    {
      onMouseDown OptionsGfxClick
      tooltip #552
    }
  }

  container Text : selector_textR
  {
    left -378
    top 374.6
    caption #080
  }

  container Panel
  {
    left 272
    top 366.6
    width 242.4
    height 30.4
    shader menu\posuv_big_backg

    container ScrollBar(Contrast) : slider
    {
      onMouseDown OptionsGfxClick
      tooltip #553
    }
  }

  container Text : selector_textR
  {
    left -378
    top 399.6
    caption #081
  }

  container Panel
  {
    left 272
    top 391.6
    width 242.4
    height 30.4
    shader menu\posuv_big_backg

    container ScrollBar(Gamma) : slider
    {
      onMouseDown OptionsGfxClick
      tooltip #554
    }
  }

  container Button(Back10) : back_button
  {
    zOrder 1
    onClick OptionsGfxClick
  }

  container Button(Apply10) : start_button
  {
    zOrder 1
    onClick OptionsGfxClick
  }

  effect Scroll
  {
    element LogoOptionsGfx1
    speed 400
    dump 100
    direction right
    start 0
  }
  
  effect Fade
  {
    element LogoOptionsGfx2
    type in
    start 0
  }
}

