uiDialog ClearScores
{
   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 = [ 232.000244, 18.000000, 0.000000 ]
         Scale = [ 0.750000, 0.750000, 0.750000 ]
         AnchorHorz = CENTER
         Justify = CENTER
         Text = T( "Clear Scores" )
      }

      uiTextWidget Text
      {
         Style = "light_yellow"
         Position = [ 242.000061, 142.000000, 0.000000 ]
         Width = 350.000000
         AnchorHorz = 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( "Would you like to clear all high scores?" )
      }

      uiFrame
      {
         Position = [ 245.000000, 352.000000, 0.000000 ]
         AnchorHorz = CENTER
         AnchorVert = BOTTOM

         uiButton Button_Clear_Scores
         {
            Position = [ 175, 21.000000, 0.000000 ]
            AnchorHorz = CENTER
            AnchorVert = CENTER
            Command = "Restore"

            uiTextWidget Text
            {
               Width = 175.000000
               AnchorHorz = CENTER
               WordWrap = true
               Justify = CENTER
               Text = T( "Clear High Scores" )
            }

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

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

         uiButton Button_Cancel
         {
            Position = [ 174.233749, 42.000000, 0.000000 ]
            AnchorHorz = CENTER
            Command = "Cancel"

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

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

               uiInputBinding
               {
                  Binding = "Controller.B"
               }

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

         uiFlowLayout
         {
            Type = VERT
         }
      }
   }
}
