uiDialog ProfileManage
{
   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 = [ 239.000244, 18.000000, 0.000000 ]
         Scale = [ 0.750000, 0.750000, 1.000000 ]
         Text = T( "Restore Profile" )
      }

      uiTextWidget Text
      {
         Style = "light_yellow"
         Position = [ 242.000061, 71.000000, 0.000000 ]
         Width = 325.000000
         AnchorHorz = CENTER
         Anim = "outline"
         WordWrap = true
         Layered = true
         LayerOffset = [ 2.000000, 2.000000 ]
         LayerColor = [ 0.500000, 0.500000, 0.500000, 0.500000 ]
         Justify = CENTER
         Text = T( "A profile with this name already exists.\n\nWould you like to restore it?" )
      }

      uiTextWidget ProfileName
      {
         Style = "light_green"
         Position = [ 242.000061, 178.000000, 0.000000 ]
         AnchorHorz = CENTER
         Anim = "outline"
         Layered = true
         LayerOffset = [ 2.000000, 2.000000 ]
         LayerColor = [ 0.500000, 0.500000, 0.500000, 0.500000 ]
         Justify = CENTER
         Text = T( "Profile Name" )
      }

      uiButton Button_Restore
      {
         Position = [ 244.000183, 221.000000, 0.000000 ]
         AnchorHorz = CENTER
         Command = "Restore"

         uiTextWidget Text
         {
            Text = T( "Restore Profile" )
         }

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

      uiButton Button_Reset
      {
         Position = [ 244.000183, 265.000000, 0.000000 ]
         AnchorHorz = CENTER
         Command = "Reset"

         uiTextWidget Text
         {
            Text = T( "Reset Profile" )
         }

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

      uiButton Button_Cancel
      {
         Position = [ 244.000183, 311.000000, 0.000000 ]
         AnchorHorz = CENTER
         Command = "Cancel"

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

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

            uiInputBinding
            {
               Binding = "Controller.B"
            }

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