uiDialog Options
{
   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 TransInNoMask
   {
      Effect = ~data/scripts/effects/ui/banner_in_nomask.ofx
   }

   objEffectMap TransOutNoMask
   {
      Effect = ~data/scripts/effects/ui/banner_out_nomask.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 ]
         Sprite = ~data/textures/dialogs/dialog_1.jpg*data/textures/dialogs/dialog_1_alpha.tga
      }

      uiTextWidget Header
      {
         Style = "header"
         Text = T( "Settings" )
      }

      uiFrame
      {
         Position = [ 60.000000, 90.000000, 0.000000 ]

         uiTextWidget Text_Effects
         {
            Style = "light_yellow"
            Position = [ 256.000000, 54.000000, 0.000000 ]
            AnchorHorz = CENTER
            Anim = "outline"
            Layered = true
            LayerOffset = [ 3.000000, 3.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Justify = CENTER
            Text = T( "Effects Volume" )
         }

         uiSprite scroll_bar
         {
            Position = [ 263.000000, 87.000000, 0.000000 ]
            Scale = [ 0.900000, 0.900000, 0.900000 ]
            AnchorHorz = CENTER
            Sprite = ~data/textures/dialogs/slider_slot.jpg*data/textures/dialogs/slider_slot_alpha.tga
         }

         uiScrollBar Effects_Volume
         {
            Position = [ 106.999878, 81.000000, 0.000000 ]
            Width = 295.000000

            uiScrollButton scroll
            {
               Style = "Scroll_button"
            }
         }

         uiSprite Volume_Min
         {
            Position = [ 60.000000, 96.000000, 0.000000 ]
            Color = [ 0.371000, 0.586000, 0.848000, 1.000000 ]
            AnchorHorz = CENTER
            AnchorVert = CENTER
            Sprite = ~data/sprites/dialogs/volume.spr
            SubAnim = "Min"
         }

         uiSprite Volume_Max
         {
            Position = [ 448.000000, 96.000000, 0.000000 ]
            Color = [ 0.371000, 0.586000, 0.848000, 1.000000 ]
            AnchorHorz = CENTER
            AnchorVert = CENTER
            Sprite = ~data/sprites/dialogs/volume.spr
            SubAnim = "Max"
         }
      }

      uiFrame
      {
         Position = [ 60.000000, 140.000000, 0.000000 ]

         uiTextWidget Text_Volume
         {
            Style = "light_yellow"
            Position = [ 256.000000, 106.000000, 0.000000 ]
            AnchorHorz = CENTER
            Anim = "outline"
            Layered = true
            LayerOffset = [ 3.000000, 3.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Justify = CENTER
            Text = T( "Music Volume" )
         }

         uiSprite scroll_bar
         {
            Position = [ 263.000000, 139.000000, 0.000000 ]
            Scale = [ 0.900000, 0.900000, 0.900000 ]
            AnchorHorz = CENTER
            Sprite = ~data/textures/dialogs/slider_slot.jpg*data/textures/dialogs/slider_slot_alpha.tga
         }

         uiScrollBar Music_Volume
         {
            Position = [ 106.999878, 132.000000, 0.000000 ]
            Width = 295.000000

            uiScrollButton scroll
            {
               Style = "Scroll_button"
            }
         }

         uiSprite Volume_Min
         {
            Position = [ 60.000000, 148.000000, 0.000000 ]
            Color = [ 0.371000, 0.586000, 0.848000, 1.000000 ]
            AnchorHorz = CENTER
            AnchorVert = CENTER
            Sprite = ~data/sprites/dialogs/volume.spr
            SubAnim = "Min"
         }

         uiSprite Volume_Max
         {
            Position = [ 448.000000, 148.000000, 0.000000 ]
            Color = [ 0.371000, 0.586000, 0.848000, 1.000000 ]
            AnchorHorz = CENTER
            AnchorVert = CENTER
            Sprite = ~data/sprites/dialogs/volume.spr
            SubAnim = "Max"
         }
      }

      uiFrame
      {
         Position = [ 328.000000, 448.000000, 0.000000 ]
         AnchorHorz = CENTER
         AnchorVert = CENTER

         uiFlowLayout flow
         {
            Spacing = 8.000000
         }

         uiButton Button_Cheats
         {
            Position = [ 0.000000, 0.000000, 0.000000 ]
            AnchorHorz = LEFT
            Command = "TheCheat"

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

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

         uiButton Button_Done
         {
            Position = [ 183.062897, 0.000000, 0.000000 ]
            AnchorHorz = LEFT
            Command = "Confirm"

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

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

               uiInputBinding
               {
                  Binding = "Controller.B"
               }

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

      uiTriggerControl Button_EnableCheats
      {
         Command = "EnableCheats"

         uiInputItem Cheats
         {
            uiInputBinding
            {
               Binding = "Keyboard.PageUp+Keyboard.PageDown"
            }

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