Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.46 KB | None | 0 0
  1. ///////////////////////////////////////////////////////////////////////////
  2. /// Styles
  3. ///////////////////////////////////////////////////////////////////////////
  4.  
  5. // Control types
  6. #define CT_STATIC 0
  7. #define CT_BUTTON 1
  8. #define CT_EDIT 2
  9. #define CT_SLIDER 3
  10. #define CT_COMBO 4
  11. #define CT_LISTBOX 5
  12. #define CT_TOOLBOX 6
  13. #define CT_CHECKBOXES 7
  14. #define CT_PROGRESS 8
  15. #define CT_HTML 9
  16. #define CT_STATIC_SKEW 10
  17. #define CT_ACTIVETEXT 11
  18. #define CT_TREE 12
  19. #define CT_STRUCTURED_TEXT 13
  20. #define CT_CONTEXT_MENU 14
  21. #define CT_CONTROLS_GROUP 15
  22. #define CT_SHORTCUTBUTTON 16
  23. #define CT_XKEYDESC 40
  24. #define CT_XBUTTON 41
  25. #define CT_XLISTBOX 42
  26. #define CT_XSLIDER 43
  27. #define CT_XCOMBO 44
  28. #define CT_ANIMATED_TEXTURE 45
  29. #define CT_OBJECT 80
  30. #define CT_OBJECT_ZOOM 81
  31. #define CT_OBJECT_CONTAINER 82
  32. #define CT_OBJECT_CONT_ANIM 83
  33. #define CT_LINEBREAK 98
  34. #define CT_USER 99
  35. #define CT_MAP 100
  36. #define CT_MAP_MAIN 101
  37. #define CT_LISTNBOX 102
  38. #define CT_CHECKBOX 77
  39.  
  40. // Static styles
  41. #define ST_POS 0x0F
  42. #define ST_HPOS 0x03
  43. #define ST_VPOS 0x0C
  44. #define ST_LEFT 0x00
  45. #define ST_RIGHT 0x01
  46. #define ST_CENTER 0x02
  47. #define ST_DOWN 0x04
  48. #define ST_UP 0x08
  49. #define ST_VCENTER 0x0C
  50.  
  51. #define ST_TYPE 0xF0
  52. #define ST_SINGLE 0x00
  53. #define ST_MULTI 0x10
  54. #define ST_TITLE_BAR 0x20
  55. #define ST_PICTURE 0x30
  56. #define ST_FRAME 0x40
  57. #define ST_BACKGROUND 0x50
  58. #define ST_GROUP_BOX 0x60
  59. #define ST_GROUP_BOX2 0x70
  60. #define ST_HUD_BACKGROUND 0x80
  61. #define ST_TILE_PICTURE 0x90
  62. #define ST_WITH_RECT 0xA0
  63. #define ST_LINE 0xB0
  64.  
  65. #define ST_SHADOW 0x100
  66. #define ST_NO_RECT 0x200
  67. #define ST_KEEP_ASPECT_RATIO 0x800
  68.  
  69. #define ST_TITLE ST_TITLE_BAR + ST_CENTER
  70.  
  71. // Slider styles
  72. #define SL_DIR 0x400
  73. #define SL_VERT 0
  74. #define SL_HORZ 0x400
  75.  
  76. #define SL_TEXTURES 0x10
  77.  
  78. // progress bar
  79. #define ST_VERTICAL 0x01
  80. #define ST_HORIZONTAL 0
  81.  
  82. // Listbox styles
  83. #define LB_TEXTURES 0x10
  84. #define LB_MULTI 0x20
  85.  
  86. // Tree styles
  87. #define TR_SHOWROOT 1
  88. #define TR_AUTOCOLLAPSE 2
  89.  
  90. // MessageBox styles
  91. #define MB_BUTTON_OK 1
  92. #define MB_BUTTON_CANCEL 2
  93. #define MB_BUTTON_USER 4
  94.  
  95.  
  96. ///////////////////////////////////////////////////////////////////////////
  97. /// Base Classes
  98. ///////////////////////////////////////////////////////////////////////////
  99. class RscText
  100. {
  101. deletable = 0;
  102. fade = 0;
  103. access = 0;
  104. type = 0;
  105. idc = -1;
  106. colorBackground[] =
  107. {
  108. 0,
  109. 0,
  110. 0,
  111. 0
  112. };
  113. colorText[] =
  114. {
  115. 1,
  116. 1,
  117. 1,
  118. 1
  119. };
  120. text = "";
  121. fixedWidth = 0;
  122. x = 0;
  123. y = 0;
  124. h = 0.037;
  125. w = 0.3;
  126. style = 0;
  127. shadow = 1;
  128. colorShadow[] =
  129. {
  130. 0,
  131. 0,
  132. 0,
  133. 0.5
  134. };
  135. font = "RobotoCondensed";
  136. SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  137. linespacing = 1;
  138. tooltipColorText[] =
  139. {
  140. 1,
  141. 1,
  142. 1,
  143. 1
  144. };
  145. tooltipColorBox[] =
  146. {
  147. 1,
  148. 1,
  149. 1,
  150. 1
  151. };
  152. tooltipColorShade[] =
  153. {
  154. 0,
  155. 0,
  156. 0,
  157. 0.65
  158. };
  159. };
  160. class RscStructuredText
  161. {
  162. deletable = 0;
  163. fade = 0;
  164. access = 0;
  165. type = 13;
  166. idc = -1;
  167. style = 0;
  168. colorText[] =
  169. {
  170. 1,
  171. 1,
  172. 1,
  173. 1
  174. };
  175. class Attributes
  176. {
  177. font = "RobotoCondensed";
  178. color = "#ffffff";
  179. colorLink = "#D09B43";
  180. align = "left";
  181. shadow = 1;
  182. };
  183. x = 0;
  184. y = 0;
  185. h = 0.035;
  186. w = 0.1;
  187. text = "";
  188. size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  189. shadow = 1;
  190. };
  191. class RscPicture
  192. {
  193. deletable = 0;
  194. fade = 0;
  195. access = 0;
  196. type = 0;
  197. idc = -1;
  198. style = 48;
  199. colorBackground[] =
  200. {
  201. 0,
  202. 0,
  203. 0,
  204. 0
  205. };
  206. colorText[] =
  207. {
  208. 1,
  209. 1,
  210. 1,
  211. 1
  212. };
  213. font = "TahomaB";
  214. sizeEx = 0;
  215. lineSpacing = 0;
  216. text = "";
  217. fixedWidth = 0;
  218. shadow = 0;
  219. x = 0;
  220. y = 0;
  221. w = 0.2;
  222. h = 0.15;
  223. tooltipColorText[] =
  224. {
  225. 1,
  226. 1,
  227. 1,
  228. 1
  229. };
  230. tooltipColorBox[] =
  231. {
  232. 1,
  233. 1,
  234. 1,
  235. 1
  236. };
  237. tooltipColorShade[] =
  238. {
  239. 0,
  240. 0,
  241. 0,
  242. 0.65
  243. };
  244. };
  245. class RscEdit
  246. {
  247. deletable = 0;
  248. fade = 0;
  249. access = 0;
  250. type = 2;
  251. x = 0;
  252. y = 0;
  253. h = 0.04;
  254. w = 0.2;
  255. colorBackground[] =
  256. {
  257. 0,
  258. 0,
  259. 0,
  260. 0
  261. };
  262. colorText[] =
  263. {
  264. 0.95,
  265. 0.95,
  266. 0.95,
  267. 1
  268. };
  269. colorDisabled[] =
  270. {
  271. 1,
  272. 1,
  273. 1,
  274. 0.25
  275. };
  276. colorSelection[] =
  277. {
  278. "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13])",
  279. "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])",
  280. "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])",
  281. 1
  282. };
  283. autocomplete = "";
  284. text = "";
  285. size = 0.2;
  286. style = "0x00 + 0x40";
  287. font = "RobotoCondensed";
  288. shadow = 2;
  289. sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  290. canModify = 1;
  291. tooltipColorText[] =
  292. {
  293. 1,
  294. 1,
  295. 1,
  296. 1
  297. };
  298. tooltipColorBox[] =
  299. {
  300. 1,
  301. 1,
  302. 1,
  303. 1
  304. };
  305. tooltipColorShade[] =
  306. {
  307. 0,
  308. 0,
  309. 0,
  310. 0.65
  311. };
  312. };
  313. class RscCombo
  314. {
  315. deletable = 0;
  316. fade = 0;
  317. access = 0;
  318. type = 4;
  319. colorSelect[] =
  320. {
  321. 0,
  322. 0,
  323. 0,
  324. 1
  325. };
  326. colorText[] =
  327. {
  328. 1,
  329. 1,
  330. 1,
  331. 1
  332. };
  333. colorBackground[] =
  334. {
  335. 0,
  336. 0,
  337. 0,
  338. 1
  339. };
  340. colorScrollbar[] =
  341. {
  342. 1,
  343. 0,
  344. 0,
  345. 1
  346. };
  347. colorDisabled[] =
  348. {
  349. 1,
  350. 1,
  351. 1,
  352. 0.25
  353. };
  354. colorPicture[] =
  355. {
  356. 1,
  357. 1,
  358. 1,
  359. 1
  360. };
  361. colorPictureSelected[] =
  362. {
  363. 1,
  364. 1,
  365. 1,
  366. 1
  367. };
  368. colorPictureDisabled[] =
  369. {
  370. 1,
  371. 1,
  372. 1,
  373. 0.25
  374. };
  375. colorPictureRight[] =
  376. {
  377. 1,
  378. 1,
  379. 1,
  380. 1
  381. };
  382. colorPictureRightSelected[] =
  383. {
  384. 1,
  385. 1,
  386. 1,
  387. 1
  388. };
  389. colorPictureRightDisabled[] =
  390. {
  391. 1,
  392. 1,
  393. 1,
  394. 0.25
  395. };
  396. colorTextRight[] =
  397. {
  398. 1,
  399. 1,
  400. 1,
  401. 1
  402. };
  403. colorSelectRight[] =
  404. {
  405. 0,
  406. 0,
  407. 0,
  408. 1
  409. };
  410. colorSelect2Right[] =
  411. {
  412. 0,
  413. 0,
  414. 0,
  415. 1
  416. };
  417. tooltipColorText[] =
  418. {
  419. 1,
  420. 1,
  421. 1,
  422. 1
  423. };
  424. tooltipColorBox[] =
  425. {
  426. 1,
  427. 1,
  428. 1,
  429. 1
  430. };
  431. tooltipColorShade[] =
  432. {
  433. 0,
  434. 0,
  435. 0,
  436. 0.65
  437. };
  438. soundSelect[] =
  439. {
  440. "\A3\ui_f\data\sound\RscCombo\soundSelect",
  441. 0.1,
  442. 1
  443. };
  444. soundExpand[] =
  445. {
  446. "\A3\ui_f\data\sound\RscCombo\soundExpand",
  447. 0.1,
  448. 1
  449. };
  450. soundCollapse[] =
  451. {
  452. "\A3\ui_f\data\sound\RscCombo\soundCollapse",
  453. 0.1,
  454. 1
  455. };
  456. maxHistoryDelay = 1;
  457. class ComboScrollBar
  458. {
  459. color[] =
  460. {
  461. 1,
  462. 1,
  463. 1,
  464. 1
  465. };
  466. };
  467. style = "0x10 + 0x200";
  468. font = "RobotoCondensed";
  469. sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  470. shadow = 0;
  471. x = 0;
  472. y = 0;
  473. w = 0.12;
  474. h = 0.035;
  475. colorSelectBackground[] =
  476. {
  477. 1,
  478. 1,
  479. 1,
  480. 0.7
  481. };
  482. arrowEmpty = "\A3\ui_f\data\GUI\RscCommon\rsccombo\arrow_combo_ca.paa";
  483. arrowFull = "\A3\ui_f\data\GUI\RscCommon\rsccombo\arrow_combo_active_ca.paa";
  484. wholeHeight = 0.45;
  485. colorActive[] =
  486. {
  487. 1,
  488. 0,
  489. 0,
  490. 1
  491. };
  492. };
  493. class RscListBox
  494. {
  495. deletable = 0;
  496. fade = 0;
  497. access = 0;
  498. type = 5;
  499. rowHeight = 0;
  500. colorText[] =
  501. {
  502. 1,
  503. 1,
  504. 1,
  505. 1
  506. };
  507. colorDisabled[] =
  508. {
  509. 1,
  510. 1,
  511. 1,
  512. 0.25
  513. };
  514. colorScrollbar[] =
  515. {
  516. 1,
  517. 0,
  518. 0,
  519. 0
  520. };
  521. colorSelect[] =
  522. {
  523. 0,
  524. 0,
  525. 0,
  526. 1
  527. };
  528. colorSelect2[] =
  529. {
  530. 0,
  531. 0,
  532. 0,
  533. 1
  534. };
  535. colorSelectBackground[] =
  536. {
  537. 0.95,
  538. 0.95,
  539. 0.95,
  540. 1
  541. };
  542. colorSelectBackground2[] =
  543. {
  544. 1,
  545. 1,
  546. 1,
  547. 0.5
  548. };
  549. colorBackground[] =
  550. {
  551. 0,
  552. 0,
  553. 0,
  554. 0.3
  555. };
  556. soundSelect[] =
  557. {
  558. "\A3\ui_f\data\sound\RscListbox\soundSelect",
  559. 0.09,
  560. 1
  561. };
  562. autoScrollSpeed = -1;
  563. autoScrollDelay = 5;
  564. autoScrollRewind = 0;
  565. arrowEmpty = "#(argb,8,8,3)color(1,1,1,1)";
  566. arrowFull = "#(argb,8,8,3)color(1,1,1,1)";
  567. colorPicture[] =
  568. {
  569. 1,
  570. 1,
  571. 1,
  572. 1
  573. };
  574. colorPictureSelected[] =
  575. {
  576. 1,
  577. 1,
  578. 1,
  579. 1
  580. };
  581. colorPictureDisabled[] =
  582. {
  583. 1,
  584. 1,
  585. 1,
  586. 0.25
  587. };
  588. colorPictureRight[] =
  589. {
  590. 1,
  591. 1,
  592. 1,
  593. 1
  594. };
  595. colorPictureRightSelected[] =
  596. {
  597. 1,
  598. 1,
  599. 1,
  600. 1
  601. };
  602. colorPictureRightDisabled[] =
  603. {
  604. 1,
  605. 1,
  606. 1,
  607. 0.25
  608. };
  609. colorTextRight[] =
  610. {
  611. 1,
  612. 1,
  613. 1,
  614. 1
  615. };
  616. colorSelectRight[] =
  617. {
  618. 0,
  619. 0,
  620. 0,
  621. 1
  622. };
  623. colorSelect2Right[] =
  624. {
  625. 0,
  626. 0,
  627. 0,
  628. 1
  629. };
  630. tooltipColorText[] =
  631. {
  632. 1,
  633. 1,
  634. 1,
  635. 1
  636. };
  637. tooltipColorBox[] =
  638. {
  639. 1,
  640. 1,
  641. 1,
  642. 1
  643. };
  644. tooltipColorShade[] =
  645. {
  646. 0,
  647. 0,
  648. 0,
  649. 0.65
  650. };
  651. class ListScrollBar
  652. {
  653. color[] =
  654. {
  655. 1,
  656. 1,
  657. 1,
  658. 1
  659. };
  660. autoScrollEnabled = 1;
  661. };
  662. x = 0;
  663. y = 0;
  664. w = 0.3;
  665. h = 0.3;
  666. style = 16;
  667. font = "RobotoCondensed";
  668. sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  669. shadow = 0;
  670. colorShadow[] =
  671. {
  672. 0,
  673. 0,
  674. 0,
  675. 0.5
  676. };
  677. period = 1.2;
  678. maxHistoryDelay = 1;
  679. };
  680. class RscButton
  681. {
  682. deletable = 0;
  683. fade = 0;
  684. access = 0;
  685. type = 1;
  686. text = "";
  687. colorText[] =
  688. {
  689. 1,
  690. 1,
  691. 1,
  692. 1
  693. };
  694. colorDisabled[] =
  695. {
  696. 1,
  697. 1,
  698. 1,
  699. 0.25
  700. };
  701. colorBackground[] =
  702. {
  703. 0,
  704. 0,
  705. 0,
  706. 0.5
  707. };
  708. colorBackgroundDisabled[] =
  709. {
  710. 0,
  711. 0,
  712. 0,
  713. 0.5
  714. };
  715. colorBackgroundActive[] =
  716. {
  717. 0,
  718. 0,
  719. 0,
  720. 1
  721. };
  722. colorFocused[] =
  723. {
  724. 0,
  725. 0,
  726. 0,
  727. 1
  728. };
  729. colorShadow[] =
  730. {
  731. 0,
  732. 0,
  733. 0,
  734. 0
  735. };
  736. colorBorder[] =
  737. {
  738. 0,
  739. 0,
  740. 0,
  741. 1
  742. };
  743. soundEnter[] =
  744. {
  745. "\A3\ui_f\data\sound\RscButton\soundEnter",
  746. 0.09,
  747. 1
  748. };
  749. soundPush[] =
  750. {
  751. "\A3\ui_f\data\sound\RscButton\soundPush",
  752. 0.09,
  753. 1
  754. };
  755. soundClick[] =
  756. {
  757. "\A3\ui_f\data\sound\RscButton\soundClick",
  758. 0.09,
  759. 1
  760. };
  761. soundEscape[] =
  762. {
  763. "\A3\ui_f\data\sound\RscButton\soundEscape",
  764. 0.09,
  765. 1
  766. };
  767. idc = -1;
  768. style = 2;
  769. x = 0;
  770. y = 0;
  771. w = 0.095589;
  772. h = 0.039216;
  773. shadow = 2;
  774. font = "RobotoCondensed";
  775. sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  776. url = "";
  777. offsetX = 0;
  778. offsetY = 0;
  779. offsetPressedX = 0;
  780. offsetPressedY = 0;
  781. borderSize = 0;
  782. };
  783. class RscShortcutButton
  784. {
  785. deletable = 0;
  786. fade = 0;
  787. type = 16;
  788. x = 0.1;
  789. y = 0.1;
  790. class HitZone
  791. {
  792. left = 0;
  793. top = 0;
  794. right = 0;
  795. bottom = 0;
  796. };
  797. class ShortcutPos
  798. {
  799. left = 0;
  800. top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
  801. w = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)";
  802. h = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  803. };
  804. class TextPos
  805. {
  806. left = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)";
  807. top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
  808. right = 0.005;
  809. bottom = 0;
  810. };
  811. shortcuts[] =
  812. {
  813. };
  814. textureNoShortcut = "#(argb,8,8,3)color(0,0,0,0)";
  815. color[] =
  816. {
  817. 1,
  818. 1,
  819. 1,
  820. 1
  821. };
  822. colorFocused[] =
  823. {
  824. 1,
  825. 1,
  826. 1,
  827. 1
  828. };
  829. color2[] =
  830. {
  831. 0.95,
  832. 0.95,
  833. 0.95,
  834. 1
  835. };
  836. colorDisabled[] =
  837. {
  838. 1,
  839. 1,
  840. 1,
  841. 0.25
  842. };
  843. colorBackground[] =
  844. {
  845. "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13])",
  846. "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])",
  847. "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])",
  848. 1
  849. };
  850. colorBackgroundFocused[] =
  851. {
  852. "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13])",
  853. "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])",
  854. "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])",
  855. 1
  856. };
  857. colorBackground2[] =
  858. {
  859. 1,
  860. 1,
  861. 1,
  862. 1
  863. };
  864. soundEnter[] =
  865. {
  866. "\A3\ui_f\data\sound\RscButton\soundEnter",
  867. 0.09,
  868. 1
  869. };
  870. soundPush[] =
  871. {
  872. "\A3\ui_f\data\sound\RscButton\soundPush",
  873. 0.09,
  874. 1
  875. };
  876. soundClick[] =
  877. {
  878. "\A3\ui_f\data\sound\RscButton\soundClick",
  879. 0.09,
  880. 1
  881. };
  882. soundEscape[] =
  883. {
  884. "\A3\ui_f\data\sound\RscButton\soundEscape",
  885. 0.09,
  886. 1
  887. };
  888. class Attributes
  889. {
  890. font = "RobotoCondensed";
  891. color = "#E5E5E5";
  892. align = "left";
  893. shadow = "true";
  894. };
  895. idc = -1;
  896. style = 0;
  897. default = 0;
  898. shadow = 1;
  899. w = 0.183825;
  900. h = "((((safezoneW / safezoneH) min 1.2) / 1.2) / 20)";
  901. textSecondary = "";
  902. colorSecondary[] =
  903. {
  904. 1,
  905. 1,
  906. 1,
  907. 1
  908. };
  909. colorFocusedSecondary[] =
  910. {
  911. 1,
  912. 1,
  913. 1,
  914. 1
  915. };
  916. color2Secondary[] =
  917. {
  918. 0.95,
  919. 0.95,
  920. 0.95,
  921. 1
  922. };
  923. colorDisabledSecondary[] =
  924. {
  925. 1,
  926. 1,
  927. 1,
  928. 0.25
  929. };
  930. sizeExSecondary = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  931. fontSecondary = "RobotoCondensed";
  932. animTextureDefault = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa";
  933. animTextureNormal = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa";
  934. animTextureDisabled = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa";
  935. animTextureOver = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\over_ca.paa";
  936. animTextureFocused = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\focus_ca.paa";
  937. animTexturePressed = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\down_ca.paa";
  938. periodFocus = 1.2;
  939. periodOver = 0.8;
  940. period = 0.4;
  941. font = "RobotoCondensed";
  942. size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  943. sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  944. text = "";
  945. url = "";
  946. action = "";
  947. class AttributesImage
  948. {
  949. font = "RobotoCondensed";
  950. color = "#E5E5E5";
  951. align = "left";
  952. };
  953. };
  954. class RscShortcutButtonMain
  955. {
  956. idc = -1;
  957. style = 0;
  958. default = 0;
  959. w = 0.313726;
  960. h = 0.104575;
  961. color[] =
  962. {
  963. 1,
  964. 1,
  965. 1,
  966. 1
  967. };
  968. colorDisabled[] =
  969. {
  970. 1,
  971. 1,
  972. 1,
  973. 0.25
  974. };
  975. class HitZone
  976. {
  977. left = 0;
  978. top = 0;
  979. right = 0;
  980. bottom = 0;
  981. };
  982. class ShortcutPos
  983. {
  984. left = 0.0145;
  985. top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)) / 2";
  986. w = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2) * (3/4)";
  987. h = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
  988. };
  989. class TextPos
  990. {
  991. left = "(((safezoneW / safezoneH) min 1.2) / 32) * 1.5";
  992. top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20)*2 - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)) / 2";
  993. right = 0.005;
  994. bottom = 0;
  995. };
  996. animTextureNormal = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\normal_ca.paa";
  997. animTextureDisabled = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\disabled_ca.paa";
  998. animTextureOver = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\over_ca.paa";
  999. animTextureFocused = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\focus_ca.paa";
  1000. animTexturePressed = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\down_ca.paa";
  1001. animTextureDefault = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\normal_ca.paa";
  1002. period = 0.5;
  1003. font = "RobotoCondensed";
  1004. size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
  1005. sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
  1006. text = "";
  1007. action = "";
  1008. class Attributes
  1009. {
  1010. font = "RobotoCondensed";
  1011. color = "#E5E5E5";
  1012. align = "left";
  1013. shadow = "false";
  1014. };
  1015. class AttributesImage
  1016. {
  1017. font = "RobotoCondensed";
  1018. color = "#E5E5E5";
  1019. align = "false";
  1020. };
  1021. };
  1022. class RscFrame
  1023. {
  1024. type = 0;
  1025. idc = -1;
  1026. deletable = 0;
  1027. style = 64;
  1028. shadow = 2;
  1029. colorBackground[] =
  1030. {
  1031. 0,
  1032. 0,
  1033. 0,
  1034. 0
  1035. };
  1036. colorText[] =
  1037. {
  1038. 1,
  1039. 1,
  1040. 1,
  1041. 1
  1042. };
  1043. font = "RobotoCondensed";
  1044. sizeEx = 0.02;
  1045. text = "";
  1046. x = 0;
  1047. y = 0;
  1048. w = 0.3;
  1049. h = 0.3;
  1050. };
  1051. class RscSlider
  1052. {
  1053. deletable = 0;
  1054. fade = 0;
  1055. access = 0;
  1056. type = 3;
  1057. style = 1024;
  1058. color[] =
  1059. {
  1060. 1,
  1061. 1,
  1062. 1,
  1063. 0.8
  1064. };
  1065. colorActive[] =
  1066. {
  1067. 1,
  1068. 1,
  1069. 1,
  1070. 1
  1071. };
  1072. shadow = 0;
  1073. x = 0;
  1074. y = 0;
  1075. w = 0.3;
  1076. h = 0.025;
  1077. };
  1078. class IGUIBack
  1079. {
  1080. type = 0;
  1081. idc = 124;
  1082. style = 128;
  1083. text = "";
  1084. colorText[] =
  1085. {
  1086. 0,
  1087. 0,
  1088. 0,
  1089. 0
  1090. };
  1091. font = "RobotoCondensed";
  1092. sizeEx = 0;
  1093. shadow = 0;
  1094. x = 0.1;
  1095. y = 0.1;
  1096. w = 0.1;
  1097. h = 0.1;
  1098. colorbackground[] =
  1099. {
  1100. "(profilenamespace getvariable ['IGUI_BCG_RGB_R',0])",
  1101. "(profilenamespace getvariable ['IGUI_BCG_RGB_G',1])",
  1102. "(profilenamespace getvariable ['IGUI_BCG_RGB_B',1])",
  1103. "(profilenamespace getvariable ['IGUI_BCG_RGB_A',0.8])"
  1104. };
  1105. };
  1106. class RscCheckBox
  1107. {
  1108. idc = -1;
  1109. type = 77;
  1110. deletable = 0;
  1111. style = 0;
  1112. checked = 0;
  1113. x = "0.375 * safezoneW + safezoneX";
  1114. y = "0.36 * safezoneH + safezoneY";
  1115. w = "0.025 * safezoneW";
  1116. h = "0.04 * safezoneH";
  1117. color[] =
  1118. {
  1119. 1,
  1120. 1,
  1121. 1,
  1122. 0.7
  1123. };
  1124. colorFocused[] =
  1125. {
  1126. 1,
  1127. 1,
  1128. 1,
  1129. 1
  1130. };
  1131. colorHover[] =
  1132. {
  1133. 1,
  1134. 1,
  1135. 1,
  1136. 1
  1137. };
  1138. colorPressed[] =
  1139. {
  1140. 1,
  1141. 1,
  1142. 1,
  1143. 1
  1144. };
  1145. colorDisabled[] =
  1146. {
  1147. 1,
  1148. 1,
  1149. 1,
  1150. 0.2
  1151. };
  1152. colorBackground[] =
  1153. {
  1154. 0,
  1155. 0,
  1156. 0,
  1157. 0
  1158. };
  1159. colorBackgroundFocused[] =
  1160. {
  1161. 0,
  1162. 0,
  1163. 0,
  1164. 0
  1165. };
  1166. colorBackgroundHover[] =
  1167. {
  1168. 0,
  1169. 0,
  1170. 0,
  1171. 0
  1172. };
  1173. colorBackgroundPressed[] =
  1174. {
  1175. 0,
  1176. 0,
  1177. 0,
  1178. 0
  1179. };
  1180. colorBackgroundDisabled[] =
  1181. {
  1182. 0,
  1183. 0,
  1184. 0,
  1185. 0
  1186. };
  1187. textureChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
  1188. textureUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
  1189. textureFocusedChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
  1190. textureFocusedUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
  1191. textureHoverChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
  1192. textureHoverUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
  1193. texturePressedChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
  1194. texturePressedUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
  1195. textureDisabledChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
  1196. textureDisabledUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
  1197. tooltipColorText[] =
  1198. {
  1199. 1,
  1200. 1,
  1201. 1,
  1202. 1
  1203. };
  1204. tooltipColorBox[] =
  1205. {
  1206. 1,
  1207. 1,
  1208. 1,
  1209. 1
  1210. };
  1211. tooltipColorShade[] =
  1212. {
  1213. 0,
  1214. 0,
  1215. 0,
  1216. 0.65
  1217. };
  1218. soundEnter[] =
  1219. {
  1220. "",
  1221. 0.1,
  1222. 1
  1223. };
  1224. soundPush[] =
  1225. {
  1226. "",
  1227. 0.1,
  1228. 1
  1229. };
  1230. soundClick[] =
  1231. {
  1232. "",
  1233. 0.1,
  1234. 1
  1235. };
  1236. soundEscape[] =
  1237. {
  1238. "",
  1239. 0.1,
  1240. 1
  1241. };
  1242. };
  1243. class RscTextCheckBox
  1244. {
  1245. idc = -1;
  1246. type = 7;
  1247. style = 0;
  1248. x = "0.375 * safezoneW + safezoneX";
  1249. y = "0.36 * safezoneH + safezoneY";
  1250. w = "0.025 * safezoneW";
  1251. h = "0.04 * safezoneH";
  1252. colorText[] =
  1253. {
  1254. 1,
  1255. 0,
  1256. 0,
  1257. 1
  1258. };
  1259. color[] =
  1260. {
  1261. 0,
  1262. 0,
  1263. 0,
  1264. 0
  1265. };
  1266. colorBackground[] =
  1267. {
  1268. 0,
  1269. 0,
  1270. 0,
  1271. 0
  1272. };
  1273. colorTextSelect[] =
  1274. {
  1275. 0,
  1276. 0.8,
  1277. 0,
  1278. 1
  1279. };
  1280. colorSelectedBg[] =
  1281. {
  1282. "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13])",
  1283. "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])",
  1284. "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])",
  1285. 1
  1286. };
  1287. colorSelect[] =
  1288. {
  1289. 0,
  1290. 0,
  1291. 0,
  1292. 1
  1293. };
  1294. colorTextDisable[] =
  1295. {
  1296. 0.4,
  1297. 0.4,
  1298. 0.4,
  1299. 1
  1300. };
  1301. colorDisable[] =
  1302. {
  1303. 0.4,
  1304. 0.4,
  1305. 0.4,
  1306. 1
  1307. };
  1308. tooltipColorText[] =
  1309. {
  1310. 1,
  1311. 1,
  1312. 1,
  1313. 1
  1314. };
  1315. tooltipColorBox[] =
  1316. {
  1317. 1,
  1318. 1,
  1319. 1,
  1320. 1
  1321. };
  1322. tooltipColorShade[] =
  1323. {
  1324. 0,
  1325. 0,
  1326. 0,
  1327. 0.65
  1328. };
  1329. font = "RobotoCondensed";
  1330. sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
  1331. rows = 1;
  1332. columns = 1;
  1333. strings[] =
  1334. {
  1335. "UNCHECKED"
  1336. };
  1337. checked_strings[] =
  1338. {
  1339. "CHECKED"
  1340. };
  1341. };
  1342. class RscButtonMenu
  1343. {
  1344. idc = -1;
  1345. type = 16;
  1346. style = "0x02 + 0xC0";
  1347. default = 0;
  1348. shadow = 0;
  1349. x = 0;
  1350. y = 0;
  1351. w = 0.095589;
  1352. h = 0.039216;
  1353. animTextureNormal = "#(argb,8,8,3)color(1,1,1,1)";
  1354. animTextureDisabled = "#(argb,8,8,3)color(1,1,1,1)";
  1355. animTextureOver = "#(argb,8,8,3)color(1,1,1,1)";
  1356. animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)";
  1357. animTexturePressed = "#(argb,8,8,3)color(1,1,1,1)";
  1358. animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)";
  1359. colorBackground[] =
  1360. {
  1361. 0,
  1362. 0,
  1363. 0,
  1364. 0.8
  1365. };
  1366. colorBackgroundFocused[] =
  1367. {
  1368. 1,
  1369. 1,
  1370. 1,
  1371. 1
  1372. };
  1373. colorBackground2[] =
  1374. {
  1375. 0.75,
  1376. 0.75,
  1377. 0.75,
  1378. 1
  1379. };
  1380. color[] =
  1381. {
  1382. 1,
  1383. 1,
  1384. 1,
  1385. 1
  1386. };
  1387. colorFocused[] =
  1388. {
  1389. 0,
  1390. 0,
  1391. 0,
  1392. 1
  1393. };
  1394. color2[] =
  1395. {
  1396. 0,
  1397. 0,
  1398. 0,
  1399. 1
  1400. };
  1401. colorText[] =
  1402. {
  1403. 1,
  1404. 1,
  1405. 1,
  1406. 1
  1407. };
  1408. colorDisabled[] =
  1409. {
  1410. 1,
  1411. 1,
  1412. 1,
  1413. 0.25
  1414. };
  1415. textSecondary = "";
  1416. colorSecondary[] =
  1417. {
  1418. 1,
  1419. 1,
  1420. 1,
  1421. 1
  1422. };
  1423. colorFocusedSecondary[] =
  1424. {
  1425. 0,
  1426. 0,
  1427. 0,
  1428. 1
  1429. };
  1430. color2Secondary[] =
  1431. {
  1432. 0,
  1433. 0,
  1434. 0,
  1435. 1
  1436. };
  1437. colorDisabledSecondary[] =
  1438. {
  1439. 1,
  1440. 1,
  1441. 1,
  1442. 0.25
  1443. };
  1444. sizeExSecondary = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  1445. fontSecondary = "PuristaLight";
  1446. period = 1.2;
  1447. periodFocus = 1.2;
  1448. periodOver = 1.2;
  1449. size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  1450. sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  1451. tooltipColorText[] =
  1452. {
  1453. 1,
  1454. 1,
  1455. 1,
  1456. 1
  1457. };
  1458. tooltipColorBox[] =
  1459. {
  1460. 1,
  1461. 1,
  1462. 1,
  1463. 1
  1464. };
  1465. tooltipColorShade[] =
  1466. {
  1467. 0,
  1468. 0,
  1469. 0,
  1470. 0.65
  1471. };
  1472. class TextPos
  1473. {
  1474. left = "0.25 * (((safezoneW / safezoneH) min 1.2) / 40)";
  1475. top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
  1476. right = 0.005;
  1477. bottom = 0;
  1478. };
  1479. class Attributes
  1480. {
  1481. font = "PuristaLight";
  1482. color = "#E5E5E5";
  1483. align = "left";
  1484. shadow = "false";
  1485. };
  1486. class ShortcutPos
  1487. {
  1488. left = "5.25 * (((safezoneW / safezoneH) min 1.2) / 40)";
  1489. top = 0;
  1490. w = "1 * (((safezoneW / safezoneH) min 1.2) / 40)";
  1491. h = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
  1492. };
  1493. soundEnter[] =
  1494. {
  1495. "\A3\ui_f\data\sound\RscButtonMenu\soundEnter",
  1496. 0.09,
  1497. 1
  1498. };
  1499. soundPush[] =
  1500. {
  1501. "\A3\ui_f\data\sound\RscButtonMenu\soundPush",
  1502. 0.09,
  1503. 1
  1504. };
  1505. soundClick[] =
  1506. {
  1507. "\A3\ui_f\data\sound\RscButtonMenu\soundClick",
  1508. 0.09,
  1509. 1
  1510. };
  1511. soundEscape[] =
  1512. {
  1513. "\A3\ui_f\data\sound\RscButtonMenu\soundEscape",
  1514. 0.09,
  1515. 1
  1516. };
  1517. };
  1518. class RscButtonMenuOK
  1519. {
  1520. idc = 1;
  1521. shortcuts[] =
  1522. {
  1523. "0x00050000 + 0",
  1524. 28,
  1525. 57,
  1526. 156
  1527. };
  1528. default = 1;
  1529. text = "Aceptar";
  1530. soundPush[] =
  1531. {
  1532. "\A3\ui_f\data\sound\RscButtonMenuOK\soundPush",
  1533. 0.09,
  1534. 1
  1535. };
  1536. };
  1537. class RscButtonMenuCancel
  1538. {
  1539. idc = 2;
  1540. shortcuts[] =
  1541. {
  1542. "0x00050000 + 1"
  1543. };
  1544. text = "Cancelar";
  1545. };
  1546. class RscControlsGroup
  1547. {
  1548. deletable = 0;
  1549. fade = 0;
  1550. class VScrollbar
  1551. {
  1552. color[] =
  1553. {
  1554. 1,
  1555. 1,
  1556. 1,
  1557. 1
  1558. };
  1559. width = 0.021;
  1560. autoScrollEnabled = 1;
  1561. };
  1562. class HScrollbar
  1563. {
  1564. color[] =
  1565. {
  1566. 1,
  1567. 1,
  1568. 1,
  1569. 1
  1570. };
  1571. height = 0.028;
  1572. };
  1573. class Controls
  1574. {
  1575. };
  1576. type = 15;
  1577. idc = -1;
  1578. x = 0;
  1579. y = 0;
  1580. w = 1;
  1581. h = 1;
  1582. shadow = 0;
  1583. style = 16;
  1584. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement