uiDialog ModeSelect
{
   Width = 800.000000
   Height = 600.000000
   StyleMap = ~data/scripts/interface/stylemaps/dialog.osm

   objEffectMap TransIn
   {
      Effect = ~data/scripts/effects/ui/dialog/trans_in.ofx
   }

   objEffectMap TransOut
   {
      Effect = ~data/scripts/effects/ui/dialog/trans_out.ofx
   }

   uiSprite Mask
   {
      Position = [ 0.000000, 0.000000, 0.000000 ]
      Width = 800.000000
      Height = 600.000000
      Color = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
      Sprite = ~data/textures/transition/fade_mask.tga
   }

   uiFrame Frame
   {
      Position = [ 400.000000, 300.000000, 0.000000 ]
      AnchorHorz = CENTER
      AnchorVert = CENTER

      uiSprite dialog_bg
      {
         Position = [ 0.000000, 0.000000, 0.000000 ]
         Sprite = ~data/textures/dialogs/dialog_1.jpg*data/textures/dialogs/dialog_1_alpha.tga
      }

      uiTextWidget Header
      {
         Style = "header"
         Text = T( "Select Mode" )
      }

      uiTextWidget Text_Instructions
      {
         Style = "light_yellow"
         Position = [ 320.000000, 99.000000, 0.000000 ]
         Width = 420.000000
         AnchorHorz = CENTER
         AnchorVert = CENTER
         Anim = "outline"
         WordWrap = true
         Layered = true
         LayerOffset = [ 3.000000, 3.000000 ]
         LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
         Justify = CENTER
         Text = T( "Which Mode You Would Like To Play?" )
      }

      uiFrame
      {
         Position = [ 320.000000, 130.000000, 0.000000 ]
         AnchorHorz = CENTER

         uiFlowLayout flow
         {
            Type = VERT
            Spacing = 12.000000
         }

         uiButton Button_Adventure
         {
            Position = [ 109.552460, 0.000000, 0.000000 ]
            AnchorHorz = CENTER
            Command = "Adventure"

            uiTextWidget Text
            {
               Position = [ 0.000000, 15.000000, 0.000000 ]
               AnchorHorz = LEFT
               Justify = CENTER
               Text = T( "Adventure" )
            }

            objEffectMap Hover
            {
               Effect = ~data/scripts/effects/ui/dialog/mode/text_adventure.ofx
            }

            objEffectMap Focus
            {
               Effect = ~data/scripts/effects/ui/dialog/mode/text_adventure.ofx
            }
         }

         uiButton Button_Survival
         {
            Position = [ 109.552460, 54.000000, 0.000000 ]
            AnchorHorz = CENTER
            Command = "Survival"

            uiTextWidget Text
            {
               AnchorHorz = LEFT
               Justify = CENTER
               Text = T( "Survival" )
            }

            objEffectMap Hover
            {
               Effect = ~data/scripts/effects/ui/dialog/mode/text_survival.ofx
            }

            objEffectMap Focus
            {
               Effect = ~data/scripts/effects/ui/dialog/mode/text_survival.ofx
            }
         }

         uiButton Button_Gauntlet
         {
            Position = [ 109.552460, 108.000000, 0.000000 ]
            AnchorHorz = CENTER
            Command = "Practice"

            uiTextWidget Text
            {
               AnchorHorz = LEFT
               Justify = CENTER
               Text = T( "Practice" )
            }

            objEffectMap Hover
            {
               Effect = ~data/scripts/effects/ui/dialog/mode/text_gauntlet.ofx
            }

            objEffectMap Focus
            {
               Effect = ~data/scripts/effects/ui/dialog/mode/text_gauntlet.ofx
            }
         }
      }

      uiFrame
      {
         Position = [ 320.000000, 343.000000, 0.000000 ]
         AnchorHorz = CENTER
         AnchorVert = CENTER

         uiTextWidget Text_Adventure
         {
            Style = "light_yellow"
            Position = [ 0.000000, 0.000000, 0.000000 ]
            Width = 325.000000
            Color = [ 0.988000, 0.945000, 0.492000, 0.000000 ]
            AnchorHorz = CENTER
            AnchorVert = CENTER
            Anim = "outline"
            WordWrap = true
            Layered = true
            LayerOffset = [ 3.000000, 3.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Justify = CENTER
            Text = T( "Are you ready to battle Set in this epic trek across the sands of Egypt?" )
         }

         uiTextWidget Text_Survival
         {
            Style = "light_yellow"
            Position = [ 0.000000, 0.000000, 0.000000 ]
            Width = 325.000000
            Color = [ 0.988000, 0.945000, 0.492000, 0.000000 ]
            AnchorHorz = CENTER
            AnchorVert = CENTER
            Anim = "outline"
            WordWrap = true
            Layered = true
            LayerOffset = [ 3.000000, 3.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Justify = CENTER
            Text = T( "How long can you survive an endless onslaught of Set\'s minions?" )
         }

         uiTextWidget Text_Gauntlet
         {
            Style = "light_yellow"
            Position = [ 0.000000, 0.000000, 0.000000 ]
            Width = 325.000000
            Color = [ 0.988000, 0.945000, 0.492000, 0.000000 ]
            AnchorHorz = CENTER
            AnchorVert = CENTER
            Anim = "outline"
            WordWrap = true
            Layered = true
            LayerOffset = [ 3.000000, 3.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Justify = CENTER
            Text = T( "Practice playing any map you\'ve unlocked in Adventure Mode." )
         }
      }

      uiButton Button_Cancel
      {
         Position = [ 316.000000, 455.000000, 0.000000 ]
         AnchorHorz = CENTER
         AnchorVert = BOTTOM
         Command = "Cancel"

         uiTextWidget Text
         {
            Text = T( "Back" )
         }

         uiInputItem
         {
            uiInputBinding Binding
            {
               Binding = "Keyboard.Escape"
            }

            uiInputBinding Binding
            {
               Binding = "Controller.B"
            }

            uiInputBinding Binding
            {
               Binding = "Controller.Back"
            }
         }
      }
   }
}
