uiDialogDisplayChange DisplayChange
{
   Width = 800.000000
   Height = 600.000000
   StyleMap = ~data/scripts/interface/stylemaps/dialog.osm
   zOrder = TOPMOST

   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_mask
      {
         Position = [ 400.000000, 300.000000, 0.000000 ]
         Width = 380.000000
         Height = 335.000000
         Color = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
         AnchorHorz = CENTER
         AnchorVert = CENTER
         Sprite = ~data/textures/transition/fade_mask.tga
      }

      uiSprite dialog_bg
      {
         Position = [ 400.000000, 300.000000, 0.000000 ]
         Scale = [ 0.750000, 0.750000, 1.000000 ]
         AnchorHorz = CENTER
         AnchorVert = CENTER
         Sprite = ~data/textures/dialogs/dialog_1.jpg*data/textures/dialogs/dialog_1_alpha.tga
      }

      uiTextWidget Header
      {
         Style = "Header"
         Position = [ 400.000000, 127.000000, 0.000000 ]
         Height = 32.000000
         Text = T( "Display Changed" )
      }

      uiFrame Text
      {
         Position = [ 400.000000, 197.999985, 0.000000 ]
         AnchorHorz = CENTER
         AnchorVert = TOP

         uiFlowLayout flow
         {
            Type = VERT
            Spacing = 40.000000
         }

         uiTextWidget description1
         {
            Style = "light_yellow"
            Position = [ 160.000000, 26.000002, 0.000000 ]
            Width = 320.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( "Do you wish to keep these settings?" )
         }

         uiTextWidget Revert_Timer
         {
            Style = "Dark_Red"
            Position = [ 160.000000, 105.000000, 0.000000 ]
            Width = 320.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( "Reverting in %d seconds" )
         }
      }

      uiFrame buttons
      {
         Position = [ 400.000000, 400.000000, 0.000000 ]
         AnchorHorz = CENTER

         uiFlowLayout
         {
            Spacing = 4.000000
         }

         uiButton Yes
         {
            AnchorHorz = CENTER
            Command = "Confirm"

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

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

               uiInputBinding
               {
                  Binding = "Controller.A"
               }

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

         uiButton No
         {
            Position = [ 220.032349, 0.000000, 0.000000 ]
            AnchorHorz = CENTER
            Command = "Revert"

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

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

               uiInputBinding
               {
                  Binding = "Controller.B"
               }

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