Advertisement
MGT

DRNdialogs.hpp

MGT
Jul 23rd, 2014
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.66 KB | None | 0 0
  1. class RscButton
  2. {
  3. access = 0;
  4. type = 1;
  5. text = "";
  6. colorText[] = {0.8784,0.8471,0.651,1};
  7. colorDisabled[] = {0.4,0.4,0.4,1};
  8. colorBackground[] = {1,0.537,0,0.5};
  9. colorBackgroundDisabled[] = {0.95,0.95,0.95,1};
  10. colorBackgroundActive[] = {1,0.537,0,1};
  11. colorFocused[] = {1,0.537,0,1};
  12. colorShadow[] = {0.023529,0,0.0313725,1};
  13. colorBorder[] = {0.023529,0,0.0313725,1};
  14. soundEnter[] = {"\ca\ui\data\sound\onover",0.09,1};
  15. soundPush[] = {"\ca\ui\data\sound\new1",0,0};
  16. soundClick[] = {"\ca\ui\data\sound\onclick",0.07,1};
  17. soundEscape[] = {"\ca\ui\data\sound\onescape",0.09,1};
  18. style = 2;
  19. x = 0;
  20. y = 0;
  21. w = 0.095589;
  22. h = 0.039216;
  23. shadow = 2;
  24. font = "Zeppelin32";
  25. sizeEx = 0.03921;
  26. offsetX = 0.003;
  27. offsetY = 0.003;
  28. offsetPressedX = 0.002;
  29. offsetPressedY = 0.002;
  30. borderSize = 0;
  31. };
  32. class DRN_DIALOG
  33. {
  34. idd=-1;
  35. movingenable=true;
  36. class Controls
  37. {
  38. class mapTavi: RscPicture
  39. {
  40. idc = 1200;
  41. text = "addons\mapTavi.paa";
  42. x = 0.340983 * safezoneW + safezoneX;
  43. y = 0.23125 * safezoneH + safezoneY;
  44. w = 0.30876 * safezoneW;
  45. h = 0.531375 * safezoneH;
  46. };
  47. class btnSabina: RscButton
  48. {
  49. idc = 1600;
  50. text = "SE";
  51. x = 0.576969 * safezoneW + safezoneX;
  52. y = 0.526875 * safezoneH + safezoneY;
  53. w = 0.0161019 * safezoneW;
  54. h = 0.0165 * safezoneH;
  55. action = "closeDialog 0;drnspawn = 0;";
  56. };
  57. class btnYar: RscButton
  58. {
  59. idc = 1601;
  60. text = "NE";
  61. x = 0.502343 * safezoneW + safezoneX;
  62. y = 0.3325 * safezoneH + safezoneY;
  63. w = 0.0161019 * safezoneW;
  64. h = 0.0165 * safezoneH;
  65. action = "closeDialog 0;drnspawn = 1;";
  66. };
  67. class btnSev: RscButton
  68. {
  69. idc = 1602;
  70. text = "SW";
  71. x = 0.497265 * safezoneW + safezoneX;
  72. y = 0.726875 * safezoneH + safezoneY;
  73. w = 0.0161019 * safezoneW;
  74. h = 0.0165 * safezoneH;
  75. action = "closeDialog 0;drnspawn = 2;";
  76. };
  77. class btnShta: RscButton
  78. {
  79. idc = 1603;
  80. text = "NW";
  81. x = 0.367552 * safezoneW + safezoneX;
  82. y = 0.58 * safezoneH + safezoneY;
  83. w = 0.0161019 * safezoneW;
  84. h = 0.0165 * safezoneH;
  85. action = "closeDialog 0;drnspawn = 3;";
  86. };
  87. class btnRand: RscButton
  88. {
  89. idc = 1604;
  90. text = "Random";
  91. x = 0.382789 * safezoneW + safezoneX;
  92. y = 0.419375 * safezoneH + safezoneY;
  93. w = 0.0368304 * safezoneW;
  94. h = 0.0165 * safezoneH;
  95. action = "closeDialog 0;drnspawn = 4;";
  96. };
  97. class lblMap: RscText
  98. {
  99. idc = 1000;
  100. text = "Select spawn area";
  101. x = 0.358175 * safezoneW + safezoneX;
  102. y = 0.366875 * safezoneH + safezoneY;
  103. w = 0.0801985 * safezoneW;
  104. h = 0.018875 * safezoneH;
  105. tooltip = "Western Island has active bandits";
  106. };
  107.  
  108. };
  109. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement