uiDialog SaveGame
{
   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
   }

   objEffectMap TransQuit
   {
      Effect = ~data/scripts/effects/ui/dialog/trans_out_quit_main.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 = [ 400.000000, 300.000000, 0.000000 ]
         Scale = [ 0.850000, 0.850000, 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 = [ 403.000000, 110.000000, 0.000000 ]
         Scale = [ 0.920000, 1.000000, 1.000000 ]
         Height = 27.000000
         Text = T( "Save Game Warning" )
      }

      uiTextWidget description1
      {
         Style = "light_yellow"
         Position = [ 400.000000, 272.000000, 0.000000 ]
         Width = 320.000000
         Height = 23.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( "A storage device is currently not selected for save games.\n\nThis game will not be saved unless a storage device is selected.\n\nAn existing save game on the selected device will be overwritten." )
      }

      uiFrame Buttons
      {
         Position = [ 405.000000, 487.000000, 0.000000 ]
         AnchorHorz = CENTER
         AnchorVert = BOTTOM

         uiFlowLayout flow
         {
            Type = VERT
         }

         uiButton Button_Quit
         {
            Position = [ 159.978653, 42.000000, 0.000000 ]
            AnchorHorz = CENTER
            AnchorVert = BOTTOM
            Command = "Quit"

            uiTextWidget Text
            {
               Text = T( "Quit Without Saving" )
            }

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

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

         uiButton Button_Save
         {
            Position = [ 159.978653, 84.000000, 0.000000 ]
            AnchorHorz = CENTER
            AnchorVert = BOTTOM
            Command = "SaveGame"

            uiTextWidget Text
            {
               Text = T( "Save Game" )
            }

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

   objEffectMap Idle
   {
      Effect = ~data/scripts/effects/postprocess/disabledarkpass.ofx
   }
}
