RscAttributes.hpp 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. class RscControlsGroup;
  2. class RscControlsGroupNoScrollbars;
  3. class RscText;
  4. class RscListbox;
  5. class RscCombo;
  6. class RscEdit;
  7. class RscXSliderH;
  8. class RscCheckBox;
  9. class RscActivePicture;
  10. class RscMapControl;
  11. class RscPicture;
  12. class ctrlToolbox;
  13. class RscButton;
  14. class RscDisplayAttributes {
  15. class Controls {
  16. class Background;
  17. class Title;
  18. class Content: RscControlsGroup {
  19. class controls;
  20. };
  21. class ButtonOK;
  22. class ButtonCancel;
  23. };
  24. };
  25. class RD501_RscJammerSettings: RscDisplayAttributes {
  26. onLoad = "['onLoad', _this, ""RD501_RscJammerSettings""] call ace_zeus_fnc_zeusAttributes";
  27. onUnload = "['onUnload', _this, ""RD501_RscJammerSettings""] call ace_zeus_fnc_zeusAttributes";
  28. class Controls: Controls {
  29. class Background: Background {};
  30. class Title: Title {};
  31. class Content: Content {
  32. class Controls {
  33. class RD501_JammerSettings: RscControlsGroupNoScrollbars {
  34. onSetFocus = "_this call rd501_zeus_fnc_ui_jammerSettings";
  35. idc = 58401;
  36. x = 0;
  37. y = 0;
  38. w = (26 * (((safezoneW / safezoneH) min 1.2) / 40));
  39. h = (2 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25));
  40. class Controls {
  41. class Title1: RscText {
  42. idc = -1;
  43. text = "Jammer Range";
  44. toolTip = "Jammer's effective Radius";
  45. x = 0;
  46. y = 0;
  47. w = (10 * (((safezoneW / safezoneH) min 1.2) / 40));
  48. h = (1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25));
  49. colorBackground[] = {0,0,0,0.5};
  50. };
  51. class Jammer_Radius: RscXSliderH {
  52. idc = 58402;
  53. x = (10.1 * (((safezoneW / safezoneH) min 1.2) / 40));
  54. y = 0;
  55. w = (15.9 * (((safezoneW / safezoneH) min 1.2) / 40));
  56. h = (1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25));
  57. };
  58. class Title2: Title1 {
  59. idc = -1;
  60. text = "Jammer Strength";
  61. toolTip = "At what portion of the distance a SR radio will become useless at 50m. 160 will place it at 1/2 the radius. Handle with care.";
  62. y = (1.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25));
  63. };
  64. class Jammer_Strength: Jammer_Radius {
  65. idc = 58403;
  66. y = (1.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25));
  67. };
  68. };
  69. };
  70. };
  71. };
  72. class ButtonOK: ButtonOK {};
  73. class ButtonCancel: ButtonCancel {};
  74. };
  75. };
  76. class RD501_RscVolatileSettings: RscDisplayAttributes {
  77. onLoad = "['onLoad', _this, ""RD501_RscVolatileSettings""] call ace_zeus_fnc_zeusAttributes";
  78. onUnload = "['onUnload', _this, ""RD501_RscVolatileSettings""] call ace_zeus_fnc_zeusAttributes";
  79. class Controls: Controls {
  80. class Background: Background {};
  81. class Title: Title {};
  82. class Content: Content {
  83. class Controls {
  84. class RD501_VolatileSettings: RscControlsGroupNoScrollbars {
  85. onSetFocus = "_this call rd501_zeus_fnc_ui_volatileSettings";
  86. idc = 58501;
  87. x = 0;
  88. y = 0;
  89. w = (26 * (((safezoneW / safezoneH) min 1.2) / 40));
  90. h = (2 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25));
  91. class Controls {
  92. class Title1: RscText {
  93. idc = -1;
  94. text = "Volatile Health";
  95. toolTip = "How many hits to take before exploding";
  96. x = 0;
  97. y = 0;
  98. w = (10 * (((safezoneW / safezoneH) min 1.2) / 40));
  99. h = (1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25));
  100. colorBackground[] = {0,0,0,0.5};
  101. };
  102. class Volatile_Health: RscXSliderH {
  103. idc = 58502;
  104. x = (10.1 * (((safezoneW / safezoneH) min 1.2) / 40));
  105. y = 0;
  106. w = (15.9 * (((safezoneW / safezoneH) min 1.2) / 40));
  107. h = (1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25));
  108. };
  109. };
  110. };
  111. };
  112. };
  113. class ButtonOK: ButtonOK {};
  114. class ButtonCancel: ButtonCancel {};
  115. };
  116. };