SystemMenu.gui 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. //--- OBJECT WRITE BEGIN ---
  2. $guiContent = new GuiControl(SystemMenu) {
  3. extent = "1280 720";
  4. profile = "GuiNonModalDefaultProfile";
  5. tooltipProfile = "GuiToolTipProfile";
  6. isContainer = "1";
  7. canSaveDynamicFields = "1";
  8. new GuiStackControl(SystemMenuButtonList) {
  9. padding = "5";
  10. dynamicSize = "0";
  11. position = "440 263";
  12. extent = "400 189";
  13. horizSizing = "center";
  14. vertSizing = "center";
  15. profile = "GuiDefaultProfile";
  16. tooltipProfile = "GuiToolTipProfile";
  17. new GuiButtonCtrl() {
  18. text = "Return to Game";
  19. extent = "400 40";
  20. profile = "GuiMenuButtonProfile";
  21. command = "Canvas.popDialog(GameMenu);";
  22. tooltipProfile = "GuiToolTipProfile";
  23. groupNum = "1";
  24. class = "SystemMenuButton";
  25. };
  26. new GuiButtonCtrl() {
  27. text = "Options";
  28. position = "0 45";
  29. extent = "400 40";
  30. profile = "GuiMenuButtonProfile";
  31. command = "Canvas.pushDialog(OptionsMenu);";
  32. tooltipProfile = "GuiToolTipProfile";
  33. groupNum = "1";
  34. class = "SystemMenuButton";
  35. };
  36. new GuiButtonCtrl() {
  37. text = "Exit to Menu";
  38. position = "0 90";
  39. extent = "400 40";
  40. profile = "GuiMenuButtonProfile";
  41. command = "systemMenuExitToMenu();";
  42. tooltipProfile = "GuiToolTipProfile";
  43. groupNum = "1";
  44. class = "SystemMenuButton";
  45. };
  46. new GuiButtonCtrl() {
  47. text = "Exit to Desktop";
  48. position = "0 135";
  49. extent = "400 40";
  50. profile = "GuiMenuButtonProfile";
  51. command = "systemMenuExitToDesktop();";
  52. tooltipProfile = "GuiToolTipProfile";
  53. groupNum = "1";
  54. class = "SystemMenuButton";
  55. };
  56. };
  57. };
  58. //--- OBJECT WRITE END ---