GameMenu.gui 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. //--- OBJECT WRITE BEGIN ---
  2. $guiContent = new GuiControl(GameMenu) {
  3. extent = "1280 720";
  4. profile = "GuiDefaultProfile";
  5. tooltipProfile = "GuiToolTipProfile";
  6. isContainer = "1";
  7. canSaveDynamicFields = "1";
  8. new GuiInputCtrl(GameMenuInputHandler) {
  9. ignoreMouseEvents = "1";
  10. ActionMap = "GameMenuActionMap";
  11. position = "-50 0";
  12. extent = "50 50";
  13. horizSizing = "width";
  14. vertSizing = "height";
  15. profile = "GuiInputCtrlProfile";
  16. tooltipProfile = "GuiToolTipProfile";
  17. };
  18. new GuiChunkedBitmapCtrl(GameMenuBG) {
  19. BitmapAsset = "UI:hudfill_image";
  20. extent = "1280 720";
  21. horizSizing = "width";
  22. vertSizing = "height";
  23. profile = "GuiDefaultProfile";
  24. tooltipProfile = "GuiToolTipProfile";
  25. isContainer = "1";
  26. canSaveDynamicFields = "1";
  27. new GuiPanel(GameMenuTitlePanel) {
  28. extent = "1281 60";
  29. horizSizing = "width";
  30. profile = "GuiMenuPanelProfile";
  31. tooltipProfile = "GuiToolTipProfile";
  32. new GuiStackControl(GameMenuButtonList){
  33. position = "40 0";
  34. extent = "1240 60";
  35. profile = GuiDefaultProfile;
  36. stackingType = "Horizontal";
  37. padding = "10";
  38. horizSizing = "center";
  39. vertSizing = "center";
  40. };
  41. new GuiControl(GameMenuNavButtonOverlay) {
  42. extent = "1281 60";
  43. horizSizing = "width";
  44. vertSizing = "height";
  45. profile = GuiNonModalDefaultProfile;
  46. new GuiBitmapCtrl(GameMenuPrevNavIcon) {
  47. BitmapAsset = "UI:Keyboard_Black_Q_image";
  48. position = "0 24";
  49. extent = "40 40";
  50. profile = GuiNonModalDefaultProfile;
  51. vertSizing = "top";
  52. };
  53. new GuiBitmapCtrl(GameMenuNextNavIcon) {
  54. BitmapAsset = "UI:Keyboard_Black_E_image";
  55. position = "0 24";
  56. extent = "40 40";
  57. profile = GuiNonModalDefaultProfile;
  58. vertSizing = "top";
  59. };
  60. };
  61. };
  62. };
  63. new GuiPanel(GameMenuButtonPanel) {
  64. position = "0 683";
  65. extent = "1281 40";
  66. horizSizing = "width";
  67. vertSizing = "top";
  68. profile = "GuiMenuPanelProfile";
  69. tooltipProfile = "GuiToolTipProfile";
  70. new GuiIconButtonCtrl(GameMenuBackBtn) {
  71. BitmapAsset = "UI:Keyboard_Black_Escape_image";
  72. sizeIconToButton = "1";
  73. makeIconSquare = "1";
  74. textLocation = "Center";
  75. text = "Back";
  76. position = "16 0";
  77. extent = "140 40";
  78. vertSizing = "center";
  79. profile = "GuiMenuButtonProfile";
  80. command = "Canvas.popDialog(GameMenu);";
  81. tooltipProfile = "GuiToolTipProfile";
  82. class = "MenuInputButton";
  83. };
  84. };
  85. };
  86. //--- OBJECT WRITE END ---