uiDialog Dialog_ChallengeUnlocked
{
   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 ]
         Scale = [ 0.750000, 0.750000, 0.750000 ]
         Sprite = ~data/textures/dialogs/dialog_1.jpg*data/textures/dialogs/dialog_1_alpha.tga
      }

      uiTextWidget Header
      {
         Style = "Header"
         Position = [ 238.000244, 19.000000, 0.000000 ]
         Scale = [ 0.700000, 0.750000, 1.000000 ]
         AnchorHorz = CENTER
         Justify = CENTER
         Text = T( "Challenge Unlocked!" )
      }

      uiFrame
      {
         Position = [ 240.000000, 182.000000, 0.000000 ]
         AnchorHorz = CENTER
         AnchorVert = CENTER

         uiFlowLayout
         {
            Type = VERT
            Spacing = 2.000000
         }

         uiTextWidget Text
         {
            Position = [ 150.000000, 0.000000, 0.000000 ]
            Width = 300.000000
            Height = 27.000000
            AnchorHorz = CENTER
            AnchorVert = TOP
            Anim = "outline"
            WordWrap = true
            Layered = true
            LayerOffset = [ 2.000000, 2.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Justify = CENTER
            Text = T( "By completing the game in\nExpert Mode you have unlocked:" )
         }

         uiTextWidget Text2
         {
            Style = "Light_Yellow"
            Position = [ 150.000000, 83.000008, 0.000000 ]
            Width = 300.000000
            Height = 27.000000
            AnchorHorz = CENTER
            AnchorVert = TOP
            Anim = "outline"
            WordWrap = true
            Layered = true
            LayerOffset = [ 2.000000, 2.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Justify = CENTER
            Text = T( "Challenge of Horus mode!" )
         }

         uiTextWidget Text3
         {
            Position = [ 150.000000, 112.000008, 0.000000 ]
            Width = 300.000000
            Height = 27.000000
            AnchorHorz = CENTER
            AnchorVert = TOP
            Anim = "outline"
            WordWrap = true
            Layered = true
            LayerOffset = [ 2.000000, 2.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Justify = CENTER
            Text = T( "In this special mode you\'ll get to play each map at extreme difficulty." )
         }
      }

      uiButton Button_Continue
      {
         Position = [ 243.000183, 310.000000, 0.000000 ]
         AnchorHorz = CENTER
         Command = "Continue"

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

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

            uiInputBinding
            {
               Binding = "Controller.A"
            }

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