#include <templates.gui>

registerShader FULL
registerShader EMPTY

SelectServer
{
  zorder 10
  onShow SelectServerShow

  container Text(LogoSelectServer) : logo_text_small
  {
    left 10.4
    top 13.6
    caption #035
  }

  container Panel
  {
    left 20.0
    top 45.0
    width 122.4
    height 122.4
    shader menu\logo_small
    enabled false
  }
  
  container Text : selector_textR
  {
    left -330
    top 58
    caption #041
  }

  container EditBox(ServerIP) : edit_base
  {
    left 320
    top 50
    tooltip #517
  }

  container Text : selector_textR
  {
    left -330
    top 88
    caption #073
  }

  container EditBox(ServerPort) : edit_base
  {
    left 320
    top 80
    width 150
    maxChars 5
    tooltip #518
  }

  container Table(ServerList)
  {
    left 129.6
    top 154
    width 489.6
    height 246
    hSpacing 0
    vSpacing 0
    imageHSpacing 2
    imageVSpacing 2
    bottomMarginShader menu\bottom
    bottomMarginSize 25
    rowShader menu\row_clear
    rowShader2 menu\row_lightblue
    headerShader menu\header
    rowShaderSelected menu\row_select
    scrollbar table_scrollbar
    fontName Digital
    charHeight 14
    headerFontName PEPSI
    headerCharHeight 11
    color 12
    headerColor 10
    rowHeight 25
    headerTypes text text text text text text text text
    columnTypes image text image text text text text text
    columnWidths 20 145 40 45 40 65 65 40
    columnAligns left left center center center center center center
    columnSpaces 2 0 0 0 0 0 0 0
    header #038
    onClick SelectServerClick
    tooltip #519
  }
  
  container Button(RefreshLAN) : button_base
  {
    left 89.6
    top 117.2
    zOrder -1
    hOffset 30
    vOffset -2
    onClick SelectServerClick
    caption #039
    tooltip #520
  }

  container Button(RefreshInet) : button_base
  {
    left 163
    top 117.5
    height 25
    zOrder -2
    hOffset 35
    vOffset -2
    onClick SelectServerClick
    caption #040
    tooltip #521
    visible false
  }

  container Button(Back5) : back_button
  {
    zOrder 1
    onClick SelectServerClick
  }

  container Button(Start5) : start_button
  {
    zOrder 1
    onClick SelectServerClick
  }
  
  effect Scroll
  {
    element LogoSelectServer
    speed 400
    dump 100
    direction right
    start 0
  }
}

