uiDialogGame Game
{
   Width = 800.000000
   Height = 600.000000
   StyleMap = ~data/scripts/interface/stylemaps/dialog.osm
   CursorOnly = true

   objEffectMap TransIn
   {
      Effect = ~data/scripts/effects/ui/hud_in.ofx
   }

   objEffectMap TransOut
   {
      Effect = ~data/scripts/effects/ui/hud_out.ofx
   }

   objEffectMap ShowMap
   {
      Effect = ~data/scripts/effects/ui/showmap.ofx
   }

   objEffectMap HideMap
   {
      Effect = ~data/scripts/effects/ui/hidemap.ofx
   }

   objEffectMap ShowMap_Bonus
   {
      Effect = ~data/scripts/effects/ui/showmap_bonus.ofx
   }

   objEffectMap HideMap_Bonus
   {
      Effect = ~data/scripts/effects/ui/hidemap_bonus.ofx
   }

   objEffectMap ContinueIn
   {
      Effect = ~data/scripts/effects/ui/continue_in.ofx
   }

   uiGameFrame GameFrame
   {
      Width = 800.000000
      Height = 600.000000

      geGameLevel GameLevel

      # data/scripts/interface/game_components.uis
   }

   uiSprite FadeMask
   {
      Position = [ 0.000000, 0.000000, 0.000000 ]
      Width = 800.000000
      Height = 600.000000
      Color = [ 0.000000, 0.000000, 0.000000, 1.000000 ]
      Sprite = ~data/textures/transition/fade_mask.tga
   }

   uiFrame HudBottom
   {
      Position = [ 0.000000, 564.000000, 0.000000 ]

      uiSprite Background
      {
         Position = [ 0.000000, -4.000000, 0.000000 ]
         Sprite = ~data/textures/game/hud.jpg*data/textures/game/hud_alpha.tga
      }

      uiTextWidget Text_Stage
      {
         Position = [ 254, -1.000000, 0.000000 ]
         Height = 24.000000
         AnchorHorz = CENTER
         Anim = "Outline"
         Layered = true
         LayerOffset = [ 2.000000, 2.000000 ]
         LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
         Justify = CENTER
         Text = T( "14-5" )
      }

      uiTextWidget Text_Lives
      {
         Position = [ 45.000000, 5.000000, 0.000000 ]
         Height = 24.000000
         AnchorHorz = CENTER
         Anim = "Outline"
         Layered = true
         LayerOffset = [ 2.000000, 2.000000 ]
         LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
         Justify = CENTER
         Text = T( "99" )
      }

      uiTextWidget Text_Coins
      {
         Position = [ 120.0, 5.000000, 0.000000 ]
         Height = 24.000000
         AnchorHorz = CENTER
         Anim = "Outline"
         Layered = true
         LayerOffset = [ 2.000000, 2.000000 ]
         LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
         Justify = CENTER
         Text = T( "30" )
      }

      uiProgressBar Progress_Level
      {
         Position = [ 303.000000, 11.000000, 0.000000 ]
         Width = 186.000000
         Height = 22.000000
         Range = 1.000000
         Value = 1.000000
         LerpControls = [ 0.666600, 0.888800 ]

         objEffectMap Finished
         {
            Effect = ~data/scripts/effects/ui/progress_finished.ofx
         }

         objEffectMap ContinueFinished
         {
            Effect = ~data/scripts/effects/ui/progress_complete.ofx
         }

         uiClipFrame Progress
         {
            Position = [ 18, -4, 0.000000 ]

            uiSprite Progress
            {
               Sprite = ~data/textures/game/progress.jpg
            }
         }

         uiSprite Full
         {
            Position = [ 0, 0, 0.000000 ]
            Color = [ 1.000000, 1.000000, 1.000000, 0.000000 ]
            Sprite = ~data/textures/game/progress_full.jpg
         }
      }

      uiTextWidget Text_Score
      {
         Position = [ 620.000000, -1.000000, 0.000000 ]
         Height = 24.000000
         AnchorHorz = CENTER
         Anim = "Outline"
         Layered = true
         LayerOffset = [ 2.000000, 2.000000 ]
         LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
         Justify = CENTER
         Text = T( "999,999,999,999" )
      }

      uiButton Button_Pause
      {
         Style = "BogusArsStyle"
         Position = [ -150.000000, -30.000000, 0.000000 ]
         Color = [ 1.000000, 1.000000, 1.000000, 0.000000 ]
         Command = "GamePause"

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

            uiInputBinding
            {
               Binding = "Keyboard.Space"
            }

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

      uiButton Button_Menu
      {
         Style = "Menu_Button"
         //Width = 65.000000
         //Height = 17.000000
         Position = [ 731.000000, 7.000000, 0.000000 ]
         Scale = [ 1.000000, 1.000000, 1.000000 ]
         Padding = 5.000000
         Command = "GameMenu"

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

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

         objEffectMap Hover
         {
            Effect = ~data/scripts/effects/ui/button_menu_hover.ofx
         }
      }
   }

   objEffectMap NewLife
   {
      Effect = ~data/scripts/effects/ui/extra_life.ofx
   }
}
