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( "Options" )
      }

      uiFrame Sliders
      {
         Position = [ 316.000000, 80.000000, 0.000000 ]
         AnchorHorz = CENTER
         AnchorVert = TOP

         uiFlowLayout flow
         {
            Type = VERT
         }

         uiFrame
         {
            Position = [ 206.000000, 0.000000, 0.000000 ]
            AnchorHorz = CENTER
            AnchorVert = TOP

            uiTextWidget Text_Effects
            {
               Style = "light_yellow"
               Position = [ 256.000000, 0.000000, 0.000000 ]
               Height = 25.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, 25.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 = [ 120.000000, 23.000000, 0.000000 ]
               Width = 287.000000

               uiScrollButton scroll
               {
                  Style = "Scroll_button"
               }
            }
         }


         uiFrame
         {
            Position = [ 206.000000, 0, 0.000000 ]
            AnchorHorz = CENTER
            AnchorVert = TOP

            uiTextWidget Text_Volume
            {
               Style = "light_yellow"
               Position = [ 256.000000, 0.000000, 0.000000 ]
               Height = 25.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, 25.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 = [ 120.000000, 23.000000, 0.000000 ]
               Width = 287.000000

               uiScrollButton scroll
               {
                  Style = "Scroll_button"
               }
            }
         }


         uiFrame
         {
            Position = [ 206.000000, 0, 0.000000 ]
            AnchorHorz = CENTER
            AnchorVert = TOP

            uiTextWidget Text_Detail
            {
               Style = "light_yellow"
               Position = [ 256.000000, 0.000000, 0.000000 ]
               Height = 25.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( "Detail Level" )
            }

            uiSprite scroll_bar
            {
               Position = [ 263.000000, 25.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 Detail_Level
            {
               Position = [ 120.000000, 23.000000, 0.000000 ]
               Width = 287.000000
               Range = [ 0.000000, 5.000000 ]
               Integer = true

               uiScrollButton scroll
               {
                  Style = "Scroll_button"
               }
            }
         }
      }



      uiFrame
      {
         Position = [ 316.000000, 246.000000, 0.000000 ]
         AnchorHorz = CENTER

         uiFlowLayout flow
         {
            Type = VERT
            Spacing = 5.000000
         }

         uiTextWidget Label
         {
            Style = "light_yellow"
            Position = [ 138.500000, 0.000000, 0.000000 ]
            Height = 25.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( "Fullscreen Resolution" )
         }

         uiPulldownMenu Resolution
         {
            Position = [ 138.500000, 40.500000, 0.000000 ]
            AnchorHorz = CENTER
            AnchorVert = CENTER
         }
      }

      uiFrame Toggles
      {
         Position = [ 316.000000, 306.000000, 0.000000 ]
         AnchorHorz = CENTER

         uiFlowLayout flow
         {
            Type = VERT
            Spacing = 5.000000
         }

         uiContainer
         {
            Position = [ 0.000000, 0.000000, 0.000000 ]
            AnchorHorz = LEFT

            uiToggleButton Checkbox_Mute
            {
               Style = "Checkbox"
               Padding = 0.000000
               Command = ""
               Toggled = false
            }

            uiTextWidget Text
            {
               Style = "light_yellow"
               Position = [ 34.998932, 1.000000, 0.000000 ]
               Height = 25.000000
               Anim = "outline"
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Text = T( "Mute" )
            }
         }

         uiContainer
         {
            Position = [ 0.000000, 37.000000, 0.000000 ]
            AnchorHorz = LEFT

            uiToggleButton Checkbox_Fullscreen
            {
               Style = "Checkbox"
               Padding = 0.000000
               Command = ""
               Toggled = false
            }

            uiTextWidget Text
            {
               Style = "light_yellow"
               Position = [ 34.998932, 1.000000, 0.000000 ]
               Height = 25.000000
               Anim = "outline"
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Text = T( "Full Screen" )
            }
         }

         uiContainer
         {
            Position = [ 0.000000, 74.000000, 0.000000 ]
            AnchorHorz = LEFT

            uiToggleButton Checkbox_Retical
            {
               Style = "Checkbox"
               Padding = 0.000000
               Command = ""
               Toggled = false
            }

            uiTextWidget Text
            {
               Style = "light_yellow"
               Position = [ 34.998932, 1.000000, 0.000000 ]
               Height = 25.000000
               Anim = "outline"
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Text = T( "Aiming Retical" )
            }
         }
      }

      uiFrame Buttons
      {
         Position = [ 325.000000, 427.000000, 0.000000 ]
         AnchorHorz = 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
            {
               uiInputBinding
               {
                  Binding = "Controller.Y"
               }
            }
         }

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

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

            uiInputItem
            {
               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"
            }
         }
      }
   }
}
