Advertisement
Guest User

defines.hpp

a guest
Aug 3rd, 2015
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 17.82 KB | None | 0 0
  1. // Control types
  2. #define CT_STATIC           0
  3. #define CT_BUTTON           1
  4. #define CT_EDIT             2
  5. #define CT_SLIDER           3
  6. #define CT_COMBO            4
  7. #define CT_LISTBOX          5
  8. #define CT_TOOLBOX          6
  9. #define CT_CHECKBOXES       7
  10. #define CT_PROGRESS         8
  11. #define CT_HTML             9
  12. #define CT_STATIC_SKEW      10
  13. #define CT_ACTIVETEXT       11
  14. #define CT_TREE             12
  15. #define CT_STRUCTURED_TEXT  13
  16. #define CT_CONTEXT_MENU     14
  17. #define CT_CONTROLS_GROUP   15
  18. #define CT_SHORTCUTBUTTON   16
  19. #define CT_XKEYDESC         40
  20. #define CT_XBUTTON          41
  21. #define CT_XLISTBOX         42
  22. #define CT_XSLIDER          43
  23. #define CT_XCOMBO           44
  24. #define CT_ANIMATED_TEXTURE 45
  25. #define CT_OBJECT           80
  26. #define CT_OBJECT_ZOOM      81
  27. #define CT_OBJECT_CONTAINER 82
  28. #define CT_OBJECT_CONT_ANIM 83
  29. #define CT_LINEBREAK        98
  30. #define CT_USER             99
  31. #define CT_MAP              100
  32. #define CT_MAP_MAIN         101
  33. #define CT_LISTNBOX         102
  34.  
  35. // Static styles
  36. #define ST_POS            0x0F
  37. #define ST_HPOS           0x03
  38. #define ST_VPOS           0x0C
  39. #define ST_LEFT           0x00
  40. #define ST_RIGHT          0x01
  41. #define ST_CENTER         0x02
  42. #define ST_DOWN           0x04
  43. #define ST_UP             0x08
  44. #define ST_VCENTER        0x0C
  45. #define ST_GROUP_BOX       96
  46. #define ST_GROUP_BOX2      112
  47. #define ST_ROUNDED_CORNER  ST_GROUP_BOX + ST_CENTER
  48. #define ST_ROUNDED_CORNER2 ST_GROUP_BOX2 + ST_CENTER
  49.  
  50. #define ST_TYPE           0xF0
  51. #define ST_SINGLE         0x00
  52. #define ST_MULTI          0x10
  53. #define ST_TITLE_BAR      0x20
  54. #define ST_PICTURE        0x30
  55. #define ST_FRAME          0x40
  56. #define ST_BACKGROUND     0x50
  57. #define ST_GROUP_BOX      0x60
  58. #define ST_GROUP_BOX2     0x70
  59. #define ST_HUD_BACKGROUND 0x80
  60. #define ST_TILE_PICTURE   0x90
  61. #define ST_WITH_RECT      0xA0
  62. #define ST_LINE           0xB0
  63.  
  64. #define ST_SHADOW         0x100
  65. #define ST_NO_RECT        0x200
  66. #define ST_KEEP_ASPECT_RATIO  0x800
  67.  
  68. #define ST_TITLE          ST_TITLE_BAR + ST_CENTER
  69.  
  70. // Slider styles
  71. #define SL_DIR            0x400
  72. #define SL_VERT           0
  73. #define SL_HORZ           0x400
  74.  
  75. #define SL_TEXTURES       0x10
  76.  
  77. // progress bar
  78. #define ST_VERTICAL       0x01
  79. #define ST_HORIZONTAL     0
  80.  
  81. // Listbox styles
  82. #define LB_TEXTURES       0x10
  83. #define LB_MULTI          0x20
  84.  
  85. // Tree styles
  86. #define TR_SHOWROOT       1
  87. #define TR_AUTOCOLLAPSE   2
  88.  
  89. // MessageBox styles
  90. #define MB_BUTTON_OK      1
  91. #define MB_BUTTON_CANCEL  2
  92. #define MB_BUTTON_USER    4
  93.  
  94.  
  95. ////////////////
  96. //Base Classes//
  97. ////////////////
  98.  
  99. class RscText
  100. {
  101.     access = 0;
  102.     type = 0;
  103.     idc = -1;
  104. colorBackground[] = { 1, 1, 1, 0.3 };
  105.     colorText[] =
  106.     {
  107.         1,
  108.         1,
  109.         1,
  110.         0.5
  111.     };
  112.     text = "";
  113.     fixedWidth = 0;
  114.     x = 0;
  115.     y = 0;
  116.     h = 0.037;
  117.     w = 0.3;
  118.     style = 0;
  119.     shadow = 1;
  120.     colorShadow[] =
  121.     {
  122.         0,
  123.         0,
  124.         0,
  125.         0.5
  126.     };
  127.     font = "PuristaMedium";
  128.     SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  129.     linespacing = 1;
  130. };
  131. class RscStructuredText
  132. {
  133.     access = 0;
  134.     type = 13;
  135.     idc = -1;
  136.     style = 0;
  137.     colorText[] =
  138.     {
  139.         1,
  140.         1,
  141.         1,
  142.         1
  143.     };
  144.     class Attributes
  145.     {
  146.         font = "PuristaMedium";
  147.         color = "#ffffff";
  148.         align = "left";
  149.         shadow = 1;
  150.     };
  151.     x = 0;
  152.     y = 0;
  153.     h = 0.035;
  154.     w = 0.1;
  155.     text = "";
  156.     size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  157.     shadow = 1;
  158. };
  159. class RscPicture
  160. {
  161.     access = 0;
  162.     type = 0;
  163.     idc = -1;
  164.     style = 48;
  165.     colorBackground[] =
  166.     {
  167.         0,
  168.         0,
  169.         0,
  170.         0
  171.     };
  172.     colorText[] =
  173.     {
  174.         1,
  175.         1,
  176.         1,
  177.         1
  178.     };
  179.     font = "TahomaB";
  180.     sizeEx = 0;
  181.     lineSpacing = 0;
  182.     text = "";
  183.     fixedWidth = 0;
  184.     shadow = 0;
  185.     x = 0;
  186.     y = 0;
  187.     w = 0.2;
  188.     h = 0.15;
  189. };
  190. class RscEdit
  191. {
  192.     access = 0;
  193.     type = 2;
  194.     x = 0;
  195.     y = 0;
  196.     h = 0.04;
  197.     w = 0.2;
  198.     colorBackground[] =
  199.     {
  200.         0,
  201.         0,
  202.         0,
  203.         1
  204.     };
  205.     colorText[] =
  206.     {
  207.         0.95,
  208.         0.95,
  209.         0.95,
  210.         1
  211.     };
  212.     colorSelection[] =
  213.     {
  214.         "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])",
  215.         "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])",
  216.         "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])",
  217.         1
  218.     };
  219.     autocomplete = "";
  220.     text = "";
  221.     size = 0.2;
  222.     style = "0x00 + 0x40";
  223.     font = "PuristaMedium";
  224.     shadow = 2;
  225.     sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  226.     colorDisabled[] =
  227.     {
  228.         1,
  229.         1,
  230.         1,
  231.         0.25
  232.     };
  233.     canModify = 1;
  234. };
  235. class RscCombo
  236. {
  237.     access = 0;
  238.     type = 4;
  239.     colorSelect[] =
  240.     {
  241.         0,
  242.         0,
  243.         0,
  244.         1
  245.     };
  246.     colorText[] =
  247.     {
  248.         0.95,
  249.         0.95,
  250.         0.95,
  251.         1
  252.     };
  253.     colorBackground[] =
  254.     {
  255.         0,
  256.         0,
  257.         0,
  258.         1
  259.     };
  260.     colorScrollbar[] =
  261.     {
  262.         1,
  263.         0,
  264.         0,
  265.         1
  266.     };
  267.     soundSelect[] =
  268.     {
  269.         "",
  270.         0.1,
  271.         1
  272.     };
  273.     soundExpand[] =
  274.     {
  275.         "",
  276.         0.1,
  277.         1
  278.     };
  279.     soundCollapse[] =
  280.     {
  281.         "",
  282.         0.1,
  283.         1
  284.     };
  285.     maxHistoryDelay = 1;
  286.     class ScrollBar
  287.     {
  288.         color[] =
  289.         {
  290.             1,
  291.             1,
  292.             1,
  293.             0.6
  294.         };
  295.         colorActive[] =
  296.         {
  297.             1,
  298.             1,
  299.             1,
  300.             1
  301.         };
  302.         colorDisabled[] =
  303.         {
  304.             1,
  305.             1,
  306.             1,
  307.             0.3
  308.         };
  309.         shadow = 0;
  310.         thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
  311.         arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
  312.         arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
  313.         border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
  314.     };
  315.     style = 16;
  316.     x = 0;
  317.     y = 0;
  318.     w = 0.12;
  319.     h = 0.035;
  320.     shadow = 0;
  321.     colorSelectBackground[] =
  322.     {
  323.         1,
  324.         1,
  325.         1,
  326.         0.7
  327.     };
  328.     arrowEmpty = "\A3\ui_f\data\GUI\RscCommon\rsccombo\arrow_combo_ca.paa";
  329.     arrowFull = "\A3\ui_f\data\GUI\RscCommon\rsccombo\arrow_combo_active_ca.paa";
  330.     wholeHeight = 0.45;
  331.     color[] =
  332.     {
  333.         1,
  334.         1,
  335.         1,
  336.         1
  337.     };
  338.     colorActive[] =
  339.     {
  340.         1,
  341.         0,
  342.         0,
  343.         1
  344.     };
  345.     colorDisabled[] =
  346.     {
  347.         1,
  348.         1,
  349.         1,
  350.         0.25
  351.     };
  352.     font = "PuristaMedium";
  353.     sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  354. };
  355. class RscListBox
  356. {
  357.     access = 0;
  358.     type = 5;
  359.     w = 0.4;
  360.     h = 0.4;
  361.     rowHeight = 0;
  362.     colorText[] =
  363.     {
  364.         1,
  365.         1,
  366.         1,
  367.         1
  368.     };
  369.     colorScrollbar[] =
  370.     {
  371.         1,
  372.         0,
  373.         0,
  374.         0
  375.     };
  376.     colorSelect[] =
  377.     {
  378.         0,
  379.         0,
  380.         0,
  381.         1
  382.     };
  383.     colorSelect2[] =
  384.     {
  385.         0,
  386.         0,
  387.         0,
  388.         1
  389.     };
  390.     colorSelectBackground[] =
  391.     {
  392.         0.95,
  393.         0.95,
  394.         0.95,
  395.         1
  396.     };
  397.     colorSelectBackground2[] =
  398.     {
  399.         1,
  400.         1,
  401.         1,
  402.         0.5
  403.     };
  404.     colorBackground[] =
  405.     {
  406.         0,
  407.         0,
  408.         0,
  409.         0.3
  410.     };
  411.     soundSelect[] =
  412.     {
  413.         "",
  414.         0.1,
  415.         1
  416.     };
  417.     arrowEmpty = "#(argb,8,8,3)color(1,1,1,1)";
  418.     arrowFull = "#(argb,8,8,3)color(1,1,1,1)";
  419.     class ScrollBar
  420.     {
  421.         color[] =
  422.         {
  423.             1,
  424.             1,
  425.             1,
  426.             0.6
  427.         };
  428.         colorActive[] =
  429.         {
  430.             1,
  431.             1,
  432.             1,
  433.             1
  434.         };
  435.         colorDisabled[] =
  436.         {
  437.             1,
  438.             1,
  439.             1,
  440.             0.3
  441.         };
  442.         shadow = 0;
  443.         thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
  444.         arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
  445.         arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
  446.         border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
  447.     };
  448.     style = 16;
  449.     font = "PuristaMedium";
  450.     sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  451.     shadow = 0;
  452.     colorShadow[] =
  453.     {
  454.         0,
  455.         0,
  456.         0,
  457.         0.5
  458.     };
  459.     color[] =
  460.     {
  461.         1,
  462.         1,
  463.         1,
  464.         1
  465.     };
  466.     colorDisabled[] =
  467.     {
  468.         1,
  469.         1,
  470.         1,
  471.         0.25
  472.     };
  473.     period = 1.2;
  474.     maxHistoryDelay = 1;
  475.     autoScrollSpeed = -1;
  476.     autoScrollDelay = 5;
  477.     autoScrollRewind = 0;
  478. };
  479. class RscButton
  480. {
  481.     access = 0;
  482.     type = 1;
  483.     text = "";
  484.     colorText[] =
  485.     {
  486.         1,
  487.         1,
  488.         1,
  489.         1
  490.     };
  491.     colorDisabled[] =
  492.     {
  493.         0.4,
  494.         0.4,
  495.         0.4,
  496.         1
  497.     };
  498.     colorBackground[] =
  499.     {
  500.         "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])",
  501.         "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])",
  502.         "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])",
  503.         0.7
  504.     };
  505.     colorBackgroundDisabled[] =
  506.     {
  507.         0.95,
  508.         0.95,
  509.         0.95,
  510.         1
  511.     };
  512.     colorBackgroundActive[] =
  513.     {
  514.         "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])",
  515.         "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])",
  516.         "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])",
  517.         1
  518.     };
  519.     colorFocused[] =
  520.     {
  521.         "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])",
  522.         "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])",
  523.         "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])",
  524.         1
  525.     };
  526.     colorShadow[] =
  527.     {
  528.         0,
  529.         0,
  530.         0,
  531.         1
  532.     };
  533.     colorBorder[] =
  534.     {
  535.         0,
  536.         0,
  537.         0,
  538.         1
  539.     };
  540.     soundEnter[] =
  541.     {
  542.         "\A3\ui_f\data\sound\onover",
  543.         0.09,
  544.         1
  545.     };
  546.     soundPush[] =
  547.     {
  548.         "\A3\ui_f\data\sound\new1",
  549.         0,
  550.         0
  551.     };
  552.     soundClick[] =
  553.     {
  554.         "\A3\ui_f\data\sound\onclick",
  555.         0.07,
  556.         1
  557.     };
  558.     soundEscape[] =
  559.     {
  560.         "\A3\ui_f\data\sound\onescape",
  561.         0.09,
  562.         1
  563.     };
  564.     style = 2;
  565.     x = 0;
  566.     y = 0;
  567.     w = 0.095589;
  568.     h = 0.039216;
  569.     shadow = 2;
  570.     font = "PuristaMedium";
  571.     sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  572.     offsetX = 0.003;
  573.     offsetY = 0.003;
  574.     offsetPressedX = 0.002;
  575.     offsetPressedY = 0.002;
  576.     borderSize = 0;
  577. };
  578. class RscShortcutButton
  579. {
  580.     type = 16;
  581.     x = 0.1;
  582.     y = 0.1;
  583.     class HitZone
  584.     {
  585.         left = 0;
  586.         top = 0;
  587.         right = 0;
  588.         bottom = 0;
  589.     };
  590.     class ShortcutPos
  591.     {
  592.         left = 0;
  593.         top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
  594.         w = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)";
  595.         h = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  596.     };
  597.     class TextPos
  598.     {
  599.         left = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)";
  600.         top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
  601.         right = 0.005;
  602.         bottom = 0;
  603.     };
  604.     shortcuts[] =
  605.     {
  606.     };
  607.     textureNoShortcut = "#(argb,8,8,3)color(0,0,0,0)";
  608.     color[] =
  609.     {
  610.         1,
  611.         1,
  612.         1,
  613.         1
  614.     };
  615.     color2[] =
  616.     {
  617.         0.95,
  618.         0.95,
  619.         0.95,
  620.         1
  621.     };
  622.     colorDisabled[] =
  623.     {
  624.         1,
  625.         1,
  626.         1,
  627.         0.25
  628.     };
  629.     colorBackground[] =
  630.     {
  631.         "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])",
  632.         "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])",
  633.         "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])",
  634.         1
  635.     };
  636.     colorBackground2[] =
  637.     {
  638.         1,
  639.         1,
  640.         1,
  641.         1
  642.     };
  643.     class Attributes
  644.     {
  645.         font = "PuristaMedium";
  646.         color = "#E5E5E5";
  647.         align = "left";
  648.         shadow = "true";
  649.     };
  650.     idc = -1;
  651.     style = 0;
  652.     default = 0;
  653.     shadow = 1;
  654.     w = 0.183825;
  655.     h = "((((safezoneW / safezoneH) min 1.2) / 1.2) / 20)";
  656.     animTextureDefault = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa";
  657.     animTextureNormal = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa";
  658.     animTextureDisabled = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa";
  659.     animTextureOver = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\over_ca.paa";
  660.     animTextureFocused = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\focus_ca.paa";
  661.     animTexturePressed = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\down_ca.paa";
  662.     periodFocus = 1.2;
  663.     periodOver = 0.8;
  664.     period = 0.4;
  665.     font = "PuristaMedium";
  666.     size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  667.     sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  668.     text = "";
  669.     soundEnter[] =
  670.     {
  671.         "\A3\ui_f\data\sound\onover",
  672.         0.09,
  673.         1
  674.     };
  675.     soundPush[] =
  676.     {
  677.         "\A3\ui_f\data\sound\new1",
  678.         0,
  679.         0
  680.     };
  681.     soundClick[] =
  682.     {
  683.         "\A3\ui_f\data\sound\onclick",
  684.         0.07,
  685.         1
  686.     };
  687.     soundEscape[] =
  688.     {
  689.         "\A3\ui_f\data\sound\onescape",
  690.         0.09,
  691.         1
  692.     };
  693.     action = "";
  694.     class AttributesImage
  695.     {
  696.         font = "PuristaMedium";
  697.         color = "#E5E5E5";
  698.         align = "left";
  699.     };
  700. };
  701. class RscShortcutButtonMain
  702. {
  703.     idc = -1;
  704.     style = 0;
  705.     default = 0;
  706.     w = 0.313726;
  707.     h = 0.104575;
  708.     color[] =
  709.     {
  710.         1,
  711.         1,
  712.         1,
  713.         1
  714.     };
  715.     colorDisabled[] =
  716.     {
  717.         1,
  718.         1,
  719.         1,
  720.         0.25
  721.     };
  722.     class HitZone
  723.     {
  724.         left = 0;
  725.         top = 0;
  726.         right = 0;
  727.         bottom = 0;
  728.     };
  729.     class ShortcutPos
  730.     {
  731.         left = 0.0145;
  732.         top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)) / 2";
  733.         w = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2) * (3/4)";
  734.         h = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
  735.     };
  736.     class TextPos
  737.     {
  738.         left = "(((safezoneW / safezoneH) min 1.2) / 32) * 1.5";
  739.         top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20)*2 - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)) / 2";
  740.         right = 0.005;
  741.         bottom = 0;
  742.     };
  743.     animTextureNormal = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\normal_ca.paa";
  744.     animTextureDisabled = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\disabled_ca.paa";
  745.     animTextureOver = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\over_ca.paa";
  746.     animTextureFocused = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\focus_ca.paa";
  747.     animTexturePressed = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\down_ca.paa";
  748.     animTextureDefault = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\normal_ca.paa";
  749.     period = 0.5;
  750.     font = "PuristaMedium";
  751.     size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
  752.     sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
  753.     text = "";
  754.     soundEnter[] =
  755.     {
  756.         "\A3\ui_f\data\sound\onover",
  757.         0.09,
  758.         1
  759.     };
  760.     soundPush[] =
  761.     {
  762.         "\A3\ui_f\data\sound\new1",
  763.         0,
  764.         0
  765.     };
  766.     soundClick[] =
  767.     {
  768.         "\A3\ui_f\data\sound\onclick",
  769.         0.07,
  770.         1
  771.     };
  772.     soundEscape[] =
  773.     {
  774.         "\A3\ui_f\data\sound\onescape",
  775.         0.09,
  776.         1
  777.     };
  778.     action = "";
  779.     class Attributes
  780.     {
  781.         font = "PuristaMedium";
  782.         color = "#E5E5E5";
  783.         align = "left";
  784.         shadow = "false";
  785.     };
  786.     class AttributesImage
  787.     {
  788.         font = "PuristaMedium";
  789.         color = "#E5E5E5";
  790.         align = "false";
  791.     };
  792. };
  793. class RscFrame
  794. {
  795.     type = 0;
  796.     idc = -1;
  797.     style = 64;
  798.     shadow = 2;
  799.     colorBackground[] =
  800.     {
  801.         0,
  802.         0,
  803.         0,
  804.         0
  805.     };
  806.     colorText[] =
  807.     {
  808.         1,
  809.         1,
  810.         1,
  811.         1
  812.     };
  813.     font = "PuristaMedium";
  814.     sizeEx = 0.02;
  815.     text = "";
  816. };
  817. class RscSlider
  818. {
  819.     access = 0;
  820.     type = 3;
  821.     style = 1024;
  822.     w = 0.3;
  823.     color[] =
  824.     {
  825.         1,
  826.         1,
  827.         1,
  828.         0.8
  829.     };
  830.     colorActive[] =
  831.     {
  832.         1,
  833.         1,
  834.         1,
  835.         1
  836.     };
  837.     shadow = 0;
  838.     h = 0.025;
  839. };
  840. class IGUIBack
  841. {
  842.     type = 0;
  843.     idc = 124;
  844.     style = 128;
  845.     text = "";
  846.     colorText[] =
  847.     {
  848.         0,
  849.         0,
  850.         0,
  851.         0
  852.     };
  853.     font = "PuristaMedium";
  854.     sizeEx = 0;
  855.     shadow = 0;
  856.     x = 0.1;
  857.     y = 0.1;
  858.     w = 0.1;
  859.     h = 0.1;
  860.     colorbackground[] =
  861.     {
  862.         "(profilenamespace getvariable ['IGUI_BCG_RGB_R',0])",
  863.         "(profilenamespace getvariable ['IGUI_BCG_RGB_G',1])",
  864.         "(profilenamespace getvariable ['IGUI_BCG_RGB_B',1])",
  865.         "(profilenamespace getvariable ['IGUI_BCG_RGB_A',0.8])"
  866.     };
  867. };
  868. class RscCheckbox
  869. {
  870.     idc = -1;
  871.     type = 7;
  872.     style = 0;
  873.     x = "LINE_X(XVAL)";
  874.     y = "LINE_Y";
  875.     w = "LINE_W(WVAL)";
  876.     h = 0.029412;
  877.     colorText[] =
  878.     {
  879.         1,
  880.         0,
  881.         0,
  882.         1
  883.     };
  884.     color[] =
  885.     {
  886.         0,
  887.         0,
  888.         0,
  889.         0
  890.     };
  891.     colorBackground[] =
  892.     {
  893.         0,
  894.         0,
  895.         1,
  896.         1
  897.     };
  898.     colorTextSelect[] =
  899.     {
  900.         0,
  901.         0.8,
  902.         0,
  903.         1
  904.     };
  905.     colorSelectedBg[] =
  906.     {
  907.         "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])",
  908.         "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])",
  909.         "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])",
  910.         1
  911.     };
  912.     colorSelect[] =
  913.     {
  914.         0,
  915.         0,
  916.         0,
  917.         1
  918.     };
  919.     colorTextDisable[] =
  920.     {
  921.         0.4,
  922.         0.4,
  923.         0.4,
  924.         1
  925.     };
  926.     colorDisable[] =
  927.     {
  928.         0.4,
  929.         0.4,
  930.         0.4,
  931.         1
  932.     };
  933.     font = "PuristaMedium";
  934.     sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
  935.     rows = 1;
  936.     columns = 1;
  937.     strings[] =
  938.     {
  939.         "UNCHECKED"
  940.     };
  941.     checked_strings[] =
  942.     {
  943.         "CHECKED"
  944.     };
  945. };
  946. class RscButtonMenu
  947. {
  948.     idc = -1;
  949.     type = 16;
  950.     style = "0x02 + 0xC0";
  951.     default = 0;
  952.     shadow = 0;
  953.     x = 0;
  954.     y = 0;
  955.     w = 0.095589;
  956.     h = 0.039216;
  957.     animTextureNormal = "#(argb,8,8,3)color(1,1,1,1)";
  958.     animTextureDisabled = "#(argb,8,8,3)color(1,1,1,1)";
  959.     animTextureOver = "#(argb,8,8,3)color(1,1,1,0.5)";
  960.     animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)";
  961.     animTexturePressed = "#(argb,8,8,3)color(1,1,1,1)";
  962.     animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)";
  963.     colorBackground[] =
  964.     {
  965.         0,
  966.         0,
  967.         0,
  968.         0.8
  969.     };
  970.     colorBackground2[] =
  971.     {
  972.         1,
  973.         1,
  974.         1,
  975.         0.5
  976.     };
  977.     color[] =
  978.     {
  979.         1,
  980.         1,
  981.         1,
  982.         1
  983.     };
  984.     color2[] =
  985.     {
  986.         1,
  987.         1,
  988.         1,
  989.         1
  990.     };
  991.     colorText[] =
  992.     {
  993.         1,
  994.         1,
  995.         1,
  996.         1
  997.     };
  998.     colorDisabled[] =
  999.     {
  1000.         1,
  1001.         1,
  1002.         1,
  1003.         0.25
  1004.     };
  1005.     period = 1.2;
  1006.     periodFocus = 1.2;
  1007.     periodOver = 1.2;
  1008.     size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  1009.     sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  1010.     class TextPos
  1011.     {
  1012.         left = "0.25 * (((safezoneW / safezoneH) min 1.2) / 40)";
  1013.         top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
  1014.         right = 0.005;
  1015.         bottom = 0;
  1016.     };
  1017.     class Attributes
  1018.     {
  1019.         font = "PuristaLight";
  1020.         color = "#E5E5E5";
  1021.         align = "left";
  1022.         shadow = "false";
  1023.     };
  1024.     class ShortcutPos
  1025.     {
  1026.         left = "(6.25 * (((safezoneW / safezoneH) min 1.2) / 40)) - 0.0225 - 0.005";
  1027.         top = 0.005;
  1028.         w = 0.0225;
  1029.         h = 0.03;
  1030.     };
  1031. };
  1032. class RscButtonMenuOK
  1033. {
  1034.     idc = 1;
  1035.     shortcuts[] =
  1036.     {
  1037.         "0x00050000 + 0",
  1038.         28,
  1039.         57,
  1040.         156
  1041.     };
  1042.     default = 1;
  1043.     text = "OK";
  1044. };
  1045. class RscButtonMenuCancel
  1046. {
  1047.     idc = 2;
  1048.     shortcuts[] =
  1049.     {
  1050.         "0x00050000 + 1"
  1051.     };
  1052.     text = "Cancel";
  1053. };
  1054. class RscControlsGroup
  1055. {
  1056.     class VScrollbar
  1057.     {
  1058.         color[] =
  1059.         {
  1060.             1,
  1061.             1,
  1062.             1,
  1063.             1
  1064.         };
  1065.         width = 0.021;
  1066.         autoScrollSpeed = -1;
  1067.         autoScrollDelay = 5;
  1068.         autoScrollRewind = 0;
  1069.         shadow = 0;
  1070.     };
  1071.     class HScrollbar
  1072.     {
  1073.         color[] =
  1074.         {
  1075.             1,
  1076.             1,
  1077.             1,
  1078.             1
  1079.         };
  1080.         height = 0.028;
  1081.         shadow = 0;
  1082.     };
  1083.     class ScrollBar
  1084.     {
  1085.         color[] =
  1086.         {
  1087.             1,
  1088.             1,
  1089.             1,
  1090.             0.6
  1091.         };
  1092.         colorActive[] =
  1093.         {
  1094.             1,
  1095.             1,
  1096.             1,
  1097.             1
  1098.         };
  1099.         colorDisabled[] =
  1100.         {
  1101.             1,
  1102.             1,
  1103.             1,
  1104.             0.3
  1105.         };
  1106.         shadow = 0;
  1107.         thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
  1108.         arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
  1109.         arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
  1110.         border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
  1111.     };
  1112.     class Controls
  1113.     {
  1114.     };
  1115.     type = 15;
  1116.     idc = -1;
  1117.     x = 0;
  1118.     y = 0;
  1119.     w = 1;
  1120.     h = 1;
  1121.     shadow = 0;
  1122.     style = 16;
  1123. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement