uiDialog Dialog_MenuGame
{
   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 TransToInstructions
   {
      Effect = ~data/scripts/effects/ui/transition_dialog.ofx
   }

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

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

         uiFlowLayout flow
         {
            Type = VERT
            Spacing = 16.000000
         }

         uiButton Button_Options
         {
            Position = [ 146.174225, 0.000000, 0.000000 ]
            AnchorHorz = CENTER
            Command = "Options"

            uiTextWidget Text
            {
               Text = T( "Adjust Options" )
            }
         }

         uiButton Button_Instructions
         {
            Position = [ 146.174225, 56.000000, 0.000000 ]
            AnchorHorz = CENTER
            Command = "Instructions"

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

         uiButton Button_Quit_Main
         {
            Position = [ 146.174225, 112.000000, 0.000000 ]
            AnchorHorz = CENTER
            Command = "QuitMain"

            uiTextWidget Text
            {
               Text = T( "Quit To Main Menu" )
            }
         }

         uiButton Button_Exit_Level
         {
            Position = [ 146.174225, 168.000000, 0.000000 ]
            AnchorHorz = CENTER
            Command = "QuitLevel"

            uiTextWidget Text
            {
               Text = T( "Quit Level" )
            }
         }

         uiButton Button_Exit_Game
         {
            Position = [ 146.174225, 224.000000, 0.000000 ]
            AnchorHorz = CENTER
            Command = "QuitGame"

            uiTextWidget Text
            {
               Text = T( "Quit Game" )
            }
         }
      }

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

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

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

            uiInputBinding
            {
               Binding = "Controller.B"
            }

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

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