uiDialogLivesBonus LivesBonus
{
   Width = 800.000000
   Height = 600.000000
   StyleMap = ~data/scripts/interface/stylemaps/dialog.osm

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

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

      uiFrame
      {
         Position = [ 320.000000, 248.000000, 0.000000 ]
         Width = 400.000000
         AnchorHorz = CENTER
         AnchorVert = CENTER

         uiFlowLayout flow
         {
            Type = VERT
            Spacing = 16.000000
         }

         uiTextWidget Text_1
         {
            Style = "light_yellow"
            Position = [ 200.000000, 0.000000, 0.000000 ]
            Width = 400.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( "You have earned bonus points for your remaining lives!" )
         }

         uiFrame
         {
            Style = "stats"
            Position = [ 0.000000, 68.000000, 0.000000 ]
            AnchorHorz = LEFT
            OriginOffset = [ 140.000000, 0.000000, 0.000000 ]

            uiContainer Lives_Remaining
            {
               Position = [ 0.000000, 0.000000, 0.000000 ]

               uiTextWidget Label
               {
                  Style = "name"
                  Text = T( "Lives Remaining:" )
               }

               uiTextWidget Value
               {
                  Style = "value"
                  Position = [ 6.000000, 0.000000, 0.000000 ]
                  Text = T( "99" )

                  objEffectMap Psys
                  {
                     Effect = ~data/scripts/effects/ui/score_tally.ofx
                  }
               }
            }

            uiContainer Life_Bonus
            {
               Position = [ 0.000000, 26.000000, 0.000000 ]

               uiTextWidget Label
               {
                  Style = "name"
                  Text = T( "Life Bonus:" )
               }

               uiTextWidget Value
               {
                  Style = "value"
                  Position = [ 6.000000, 0.000000, 0.000000 ]
                  Text = T( "50,000" )

                  objEffectMap Psys
                  {
                     Effect = ~data/scripts/effects/ui/score_tally.ofx
                  }
               }
            }

            uiContainer Total_Bonus
            {
               Position = [ 0.000000, 52.000000, 0.000000 ]

               uiTextWidget Label
               {
                  Style = "name"
                  Text = T( "Total Bonus:" )
               }

               uiTextWidget Value
               {
                  Style = "value"
                  Position = [ 6.000000, 0.000000, 0.000000 ]
                  Text = T( "999,999,999" )

                  objEffectMap Psys
                  {
                     Effect = ~data/scripts/effects/ui/score_tally.ofx
                  }
               }
            }

            uiContainer Final_Score
            {
               Position = [ 0.000000, 78.000000, 0.000000 ]

               uiTextWidget Label
               {
                  Style = "name"
                  Text = T( "Final Score:" )
               }

               uiTextWidget Value
               {
                  Style = "value"
                  Position = [ 6.000000, 0.000000, 0.000000 ]
                  Text = T( "999,999,999" )

                  objEffectMap Psys
                  {
                     Effect = ~data/scripts/effects/ui/score_tally.ofx
                  }
               }
            }
         }

         uiTextWidget Text_2
         {
            Style = "light_yellow"
            Position = [ 200.000000, 190.000000, 0.000000 ]
            Height = 32.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( "Congratulations!" )
         }
      }

      uiButton Button_Continue
      {
         Position = [ 320.000000, 419.000000, 0.000000 ]
         AnchorHorz = CENTER
         Command = "Continue"

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

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

            uiInputBinding
            {
               Binding = "Controller.A"
            }

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

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