remapConfirmDlg.gui 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. //--- OBJECT WRITE BEGIN ---
  2. %guiContent = new GuiControl(RemapConfirmDlg) {
  3. position = "0 0";
  4. extent = "1024 768";
  5. minExtent = "8 8";
  6. horizSizing = "right";
  7. vertSizing = "bottom";
  8. profile = "GuiDefaultProfile";
  9. visible = "1";
  10. active = "1";
  11. tooltipProfile = "GuiToolTipProfile";
  12. hovertime = "1000";
  13. isContainer = "1";
  14. canSave = "1";
  15. canSaveDynamicFields = "1";
  16. helpTag = "0";
  17. new GuiContainer(RemapConfirmationPanel) {
  18. margin = "0 0 0 0";
  19. padding = "0 0 0 0";
  20. anchorTop = "1";
  21. anchorBottom = "0";
  22. anchorLeft = "1";
  23. anchorRight = "0";
  24. position = "168 352";
  25. extent = "700 64";
  26. minExtent = "8 2";
  27. horizSizing = "center";
  28. vertSizing = "center";
  29. profile = "GuiDefaultProfile";
  30. visible = "1";
  31. active = "1";
  32. tooltipProfile = "GuiToolTipProfile";
  33. hovertime = "1000";
  34. isContainer = "1";
  35. canSave = "1";
  36. canSaveDynamicFields = "0";
  37. new GuiChunkedBitmapCtrl() {
  38. bitmapAsset = "UI:hudfill_image";
  39. useVariable = "0";
  40. tile = "0";
  41. position = "0 0";
  42. extent = "700 64";
  43. minExtent = "8 2";
  44. horizSizing = "right";
  45. vertSizing = "bottom";
  46. profile = "GuiDefaultProfile";
  47. visible = "1";
  48. active = "1";
  49. tooltipProfile = "GuiToolTipProfile";
  50. hovertime = "1000";
  51. isContainer = "0";
  52. canSave = "1";
  53. canSaveDynamicFields = "0";
  54. };
  55. new GuiTextCtrl(RemapConfirmationText) {
  56. text = "\"m\" is already bound to \"Forward\"!\nDo you wish to replace this mapping?";
  57. maxLength = "255";
  58. margin = "0 0 0 0";
  59. padding = "0 0 0 0";
  60. anchorTop = "1";
  61. anchorBottom = "0";
  62. anchorLeft = "1";
  63. anchorRight = "0";
  64. position = "0 8";
  65. extent = "700 20";
  66. minExtent = "8 8";
  67. horizSizing = "width";
  68. vertSizing = "height";
  69. profile = "GuiMenuButtonProfile";
  70. visible = "1";
  71. active = "1";
  72. accelerator = "return";
  73. tooltipProfile = "GuiToolTipProfile";
  74. hovertime = "1000";
  75. isContainer = "1";
  76. canSave = "1";
  77. canSaveDynamicFields = "0";
  78. };
  79. new GuiButtonCtrl(RemapConfirmationYesButton) {
  80. text = "Yes";
  81. groupNum = "-1";
  82. buttonType = "PushButton";
  83. useMouseEvents = "0";
  84. position = "270 36";
  85. extent = "80 22";
  86. minExtent = "8 8";
  87. horizSizing = "right";
  88. vertSizing = "top";
  89. profile = "GuiMenuButtonProfile";
  90. visible = "1";
  91. active = "1";
  92. command = "ControlsMenu.redoMapping(keyboard, \"m\", \"jump\", 0, 4); Canvas.popDialog();";
  93. accelerator = "return";
  94. tooltipProfile = "GuiToolTipProfile";
  95. hovertime = "1000";
  96. isContainer = "0";
  97. canSave = "1";
  98. canSaveDynamicFields = "0";
  99. };
  100. new GuiButtonCtrl(RemapConfirmationNoButton) {
  101. text = "No";
  102. groupNum = "-1";
  103. buttonType = "PushButton";
  104. useMouseEvents = "0";
  105. position = "367 36";
  106. extent = "80 22";
  107. minExtent = "8 8";
  108. horizSizing = "right";
  109. vertSizing = "top";
  110. profile = "GuiMenuButtonProfile";
  111. visible = "1";
  112. active = "1";
  113. command = "Canvas.popDialog();";
  114. accelerator = "escape";
  115. tooltipProfile = "GuiToolTipProfile";
  116. hovertime = "1000";
  117. isContainer = "0";
  118. canSave = "1";
  119. canSaveDynamicFields = "0";
  120. };
  121. };
  122. };
  123. //--- OBJECT WRITE END ---