MaxenceTP

Untitled

Mar 1st, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. #define CT_EDIT 2
  2. #define FONT_NORMAL "PuristaLight"
  3.  
  4. #define ST_LEFT 0x00
  5. #define ST_MULTI 0x10
  6. #define GUI_GRID_CENTER_WAbs ((safezoneW / safezoneH) min 1.2)
  7. #define GUI_GRID_CENTER_HAbs (GUI_GRID_CENTER_WAbs / 1.2)
  8. #define GUI_GRID_CENTER_W (GUI_GRID_CENTER_WAbs / 40)
  9. #define GUI_GRID_CENTER_H (GUI_GRID_CENTER_HAbs / 25)
  10. #define GUI_GRID_CENTER_X (safezoneX + (safezoneW - GUI_GRID_CENTER_WAbs)/2)
  11. #define GUI_GRID_CENTER_Y (safezoneY + (safezoneH - GUI_GRID_CENTER_HAbs)/2)
  12.  
  13.  
  14. class Life_TPRscScrollBar
  15. {
  16. color[] = {1,1,1,0.6};
  17. colorActive[] = {1,1,1,1};
  18. colorDisabled[] = {1,1,1,0.3};
  19. thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
  20. arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
  21. arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
  22. border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
  23. shadow = 0;
  24. scrollSpeed = 0.06;
  25. width = 0;
  26. height = 0;
  27. autoScrollEnabled = 1;
  28. autoScrollSpeed = -1;
  29. autoScrollDelay = 5;
  30. autoScrollRewind = 0;
  31. };
  32.  
  33. class Life_TPRscControlsGroup {
  34. type = 15;
  35. idc = -1;
  36. x = 0;
  37. y = 0;
  38. w = 1;
  39. h = 1;
  40. shadow = 0;
  41. style = 16;
  42.  
  43. class VScrollBar : Life_TPRscScrollBar
  44. {
  45. width = 0.021;
  46. autoScrollEnabled = 1;
  47. };
  48.  
  49. class HScrollBar : Life_TPRscScrollBar
  50. {
  51. height = 0.028;
  52. };
  53.  
  54. class Controls {};
  55. };
  56.  
  57. class Life_TPRscControlsGroupNoScrollbars : Life_TPRscControlsGroup {
  58. class VScrollbar : VScrollbar {
  59. width = 0;
  60. };
  61.  
  62. class HScrollbar : HScrollbar {
  63. height = 0;
  64. };
  65. };
  66.  
  67. class Life_RscEditWithNoBorder
  68. {
  69. deletable = 0;
  70. fade = 0;
  71. access = 0;
  72. type = CT_EDIT;
  73. style = "16 + 512 + 2"; // multiedit with no borde
  74. x = 0;
  75. y = 0;
  76. h = 0.04;
  77. w = 0.2;
  78. colorBackground[] = {0,0,0,0};
  79. colorText[] = {0.95,0.95,0.95,1};
  80. colorDisabled[] = {1,1,1,0.25};
  81. colorSelection[] = {1,1,1,0.25};
  82. autocomplete = "";
  83. text = "";
  84. size = 1;
  85. font = FONT_NORMAL;
  86. onKeyDown = "params [""_control"", ""_key"", ""_shift""];if (_key isEqualTo 28) then {true}else{false};"; // disabled the \n
  87. lineSpacing = 0;
  88. shadow = 2;
  89. sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  90. canModify = 1;
  91. tooltipColorText[] = {1,1,1,1};
  92. tooltipColorBox[] = {1,1,1,1};
  93. tooltipColorShade[] = {0,0,0,0.65};
  94. };
  95.  
  96. class life_RscPicture_TP {
  97. shadow = 0;
  98. type = 0;
  99. style = 48;
  100. sizeEx = 0.023;
  101. font = "RobotoCondensed";
  102. colorBackground[] = {};
  103. colorText[] = {};
  104. text = "";
  105. x = 0;
  106. y = 0;
  107. w = 0.2;
  108. h = 0.15;
  109. tooltipColorText[] = {1,1,1,1};
  110. tooltipColorBox[] = {1,1,1,1};
  111. tooltipColorShade[] = {0,0,0,0.65};
  112. };
Add Comment
Please, Sign In to add comment