#include <templates.gui>

Main
{
  zorder 10
  onShow MainShow

  container Panel
  {
    left 0
    top 0
    width 247.2
    height 264.8
    zOrder 1
    shader menu\logo
  }

  container Panel(LogoCurling)
  {
    left 284.8
    top 56
    width 259.2
    height 56
    shader menu\text_curling
  }

  container Panel(Logo2006)
  {
    left 360
    top 112
    width 260
    height 58
    shader menu\text_2006
  }

  container Button(SinglePlayer) : main_button
  {
    left 275.2
    top 161
    onClick MainClick
    caption #000
  }

  container Button(Training2) : main_button
  {
    left 275.2
    top 198
    onClick MainClick
    caption #007
  }


  container Button(MultiPlayer) : main_button
  {
    left 275.2
    top 235
    onClick MainClick
    caption #001
  }

  container Button(Table) : main_button
  {
    left 275.2
    top 272
    onClick MainClick
    caption #171
  }

  container Button(EditTeam) : main_button
  {
    left 275.2
    top 309
    onClick MainClick
    caption #002
  }

  container Button(Options) : main_button
  {
    left 275.2
    top 346
    onClick MainClick
    caption #003
  }

  container Button(End) : main_button
  {
    left 275.2
    top 383
    onClick MainClick
    caption #004
  }

  container Panel
  {
    left 28.8
    top 432.2
    width 34.4
    height 34.4
    shader menu\button_neutrall
  }

  container Panel
  {
    left 584
    top 432.2
    width 34.4
    height 34.4
    shader menu\button_neutrall
  }

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

  effect Scroll
  {
    element Logo2006
    speed 400
    dump 100
    direction left
    start 1
  }

  effect Fade
  {
    element SinglePlayer
    type in
    start 0.5
  }

  effect Fade
  {
    element Training2
    type in
    start 0.6
  }

  effect Fade
  {
    element MultiPlayer
    type in
    start 0.7
  }

  effect Fade
  {
    element Table
    type in
    start 0.8
  }

  effect Fade
  {
    element EditTeam
    type in
    start 0.9
  }

  effect Fade
  {
    element Options
    type in
    start 1.0
  }

  effect Fade
  {
    element End
    type in
    start 1.1
  }
}

