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" )
      }

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

         uiFlowLayout flow
         {
            Type = VERT
            Spacing = 6.000000
         }

         uiTextWidget Text_Instructions
         {
            Style = "light_yellow"
            Width = 420.000000
            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 = [ 210.000000, 32.000000, 0.000000 ]
            AnchorHorz = CENTER

            uiFlowLayout flow
            {
               Type = VERT
               Spacing = 6.000000
            }

            uiButton Button_Adventure
            {
               Position = [ 166.998260, 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 = [ 166.998260, 48.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_Practice
            {
               Position = [ 166.998260, 96.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_practice.ofx
               }

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

            uiButton Button_Gauntlet
            {
               Position = [ 166.998260, 144.000000, 0.000000 ]
               AnchorHorz = CENTER
               Command = "Gauntlet"

               uiTextWidget Text
               {
                  AnchorHorz = LEFT
                  Justify = CENTER
                  Text = T( "Pharaoh\'s Challenge" )
               }

               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 = [ 210.000000, 263.000000, 0.000000 ]
            AnchorHorz = CENTER
            AnchorVert = CENTER

            uiTextWidget Text_Adventure
            {
               Style = "light_yellow"
               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"
               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"
               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( "Xbox 360 Exclusive!\nWield the Pharaoh\'s Dagger on the map of your choice?" )
            }

            uiTextWidget Text_Practice
            {
               Style = "light_yellow"
               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." )
            }
         }
      }

      uiFrame Buttons
      {
         Position = [ 325.000000, 473.000000, 0.000000 ]
         AnchorHorz = CENTER
         AnchorVert = BOTTOM

         uiFlowLayout flow
         {
            Type = VERT
         }

         uiButton Button_SelectDevice
         {
            Position = [ 124.552963, 42.000000, 0.000000 ]
            AnchorHorz = CENTER
            AnchorVert = BOTTOM
            Command = "SelectDevice"

            uiTextWidget Text
            {
               Text = T( "Select Device" )
            }

            uiInputItem
            {
               uiInputBinding
               {
                  Binding = "Controller.X"
               }
            }
         }

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

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

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

               uiInputBinding
               {
                  Binding = "Controller.B"
               }

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