Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.27 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. style = 64;
  1027. shadow = 2;
  1028. colorBackground[] =
  1029. {
  1030. 0,
  1031. 0,
  1032. 0,
  1033. 0
  1034. };
  1035. colorText[] =
  1036. {
  1037. 1,
  1038. 1,
  1039. 1,
  1040. 1
  1041. };
  1042. font = "RobotoCondensed";
  1043. sizeEx = 0.02;
  1044. text = "";
  1045. x = 0;
  1046. y = 0;
  1047. w = 0.3;
  1048. h = 0.3;
  1049. };
  1050. class RscSlider
  1051. {
  1052. deletable = 0;
  1053. fade = 0;
  1054. access = 0;
  1055. type = 3;
  1056. style = 1024;
  1057. color[] =
  1058. {
  1059. 1,
  1060. 1,
  1061. 1,
  1062. 0.8
  1063. };
  1064. colorActive[] =
  1065. {
  1066. 1,
  1067. 1,
  1068. 1,
  1069. 1
  1070. };
  1071. shadow = 0;
  1072. x = 0;
  1073. y = 0;
  1074. w = 0.3;
  1075. h = 0.025;
  1076. };
  1077. class IGUIBack
  1078. {
  1079. type = 0;
  1080. idc = 124;
  1081. style = 128;
  1082. text = "";
  1083. colorText[] =
  1084. {
  1085. 0,
  1086. 0,
  1087. 0,
  1088. 0
  1089. };
  1090. font = "RobotoCondensed";
  1091. sizeEx = 0;
  1092. shadow = 0;
  1093. x = 0.1;
  1094. y = 0.1;
  1095. w = 0.1;
  1096. h = 0.1;
  1097. colorbackground[] =
  1098. {
  1099. "(profilenamespace getvariable ['IGUI_BCG_RGB_R',0])",
  1100. "(profilenamespace getvariable ['IGUI_BCG_RGB_G',1])",
  1101. "(profilenamespace getvariable ['IGUI_BCG_RGB_B',1])",
  1102. "(profilenamespace getvariable ['IGUI_BCG_RGB_A',0.8])"
  1103. };
  1104. };
  1105. class RscCheckBox
  1106. {
  1107. idc = -1;
  1108. type = 77;
  1109. style = 0;
  1110. checked = 0;
  1111. x = "0.375 * safezoneW + safezoneX";
  1112. y = "0.36 * safezoneH + safezoneY";
  1113. w = "0.025 * safezoneW";
  1114. h = "0.04 * safezoneH";
  1115. color[] =
  1116. {
  1117. 1,
  1118. 1,
  1119. 1,
  1120. 0.7
  1121. };
  1122. colorFocused[] =
  1123. {
  1124. 1,
  1125. 1,
  1126. 1,
  1127. 1
  1128. };
  1129. colorHover[] =
  1130. {
  1131. 1,
  1132. 1,
  1133. 1,
  1134. 1
  1135. };
  1136. colorPressed[] =
  1137. {
  1138. 1,
  1139. 1,
  1140. 1,
  1141. 1
  1142. };
  1143. colorDisabled[] =
  1144. {
  1145. 1,
  1146. 1,
  1147. 1,
  1148. 0.2
  1149. };
  1150. colorBackground[] =
  1151. {
  1152. 0,
  1153. 0,
  1154. 0,
  1155. 0
  1156. };
  1157. colorBackgroundFocused[] =
  1158. {
  1159. 0,
  1160. 0,
  1161. 0,
  1162. 0
  1163. };
  1164. colorBackgroundHover[] =
  1165. {
  1166. 0,
  1167. 0,
  1168. 0,
  1169. 0
  1170. };
  1171. colorBackgroundPressed[] =
  1172. {
  1173. 0,
  1174. 0,
  1175. 0,
  1176. 0
  1177. };
  1178. colorBackgroundDisabled[] =
  1179. {
  1180. 0,
  1181. 0,
  1182. 0,
  1183. 0
  1184. };
  1185. textureChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
  1186. textureUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
  1187. textureFocusedChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
  1188. textureFocusedUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
  1189. textureHoverChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
  1190. textureHoverUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
  1191. texturePressedChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
  1192. texturePressedUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
  1193. textureDisabledChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
  1194. textureDisabledUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
  1195. tooltipColorText[] =
  1196. {
  1197. 1,
  1198. 1,
  1199. 1,
  1200. 1
  1201. };
  1202. tooltipColorBox[] =
  1203. {
  1204. 1,
  1205. 1,
  1206. 1,
  1207. 1
  1208. };
  1209. tooltipColorShade[] =
  1210. {
  1211. 0,
  1212. 0,
  1213. 0,
  1214. 0.65
  1215. };
  1216. soundEnter[] =
  1217. {
  1218. "",
  1219. 0.1,
  1220. 1
  1221. };
  1222. soundPush[] =
  1223. {
  1224. "",
  1225. 0.1,
  1226. 1
  1227. };
  1228. soundClick[] =
  1229. {
  1230. "",
  1231. 0.1,
  1232. 1
  1233. };
  1234. soundEscape[] =
  1235. {
  1236. "",
  1237. 0.1,
  1238. 1
  1239. };
  1240. };
  1241. class RscTextCheckBox
  1242. {
  1243. idc = -1;
  1244. type = 7;
  1245. style = 0;
  1246. x = "0.375 * safezoneW + safezoneX";
  1247. y = "0.36 * safezoneH + safezoneY";
  1248. w = "0.025 * safezoneW";
  1249. h = "0.04 * safezoneH";
  1250. colorText[] =
  1251. {
  1252. 1,
  1253. 0,
  1254. 0,
  1255. 1
  1256. };
  1257. color[] =
  1258. {
  1259. 0,
  1260. 0,
  1261. 0,
  1262. 0
  1263. };
  1264. colorBackground[] =
  1265. {
  1266. 0,
  1267. 0,
  1268. 0,
  1269. 0
  1270. };
  1271. colorTextSelect[] =
  1272. {
  1273. 0,
  1274. 0.8,
  1275. 0,
  1276. 1
  1277. };
  1278. colorSelectedBg[] =
  1279. {
  1280. "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13])",
  1281. "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])",
  1282. "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])",
  1283. 1
  1284. };
  1285. colorSelect[] =
  1286. {
  1287. 0,
  1288. 0,
  1289. 0,
  1290. 1
  1291. };
  1292. colorTextDisable[] =
  1293. {
  1294. 0.4,
  1295. 0.4,
  1296. 0.4,
  1297. 1
  1298. };
  1299. colorDisable[] =
  1300. {
  1301. 0.4,
  1302. 0.4,
  1303. 0.4,
  1304. 1
  1305. };
  1306. tooltipColorText[] =
  1307. {
  1308. 1,
  1309. 1,
  1310. 1,
  1311. 1
  1312. };
  1313. tooltipColorBox[] =
  1314. {
  1315. 1,
  1316. 1,
  1317. 1,
  1318. 1
  1319. };
  1320. tooltipColorShade[] =
  1321. {
  1322. 0,
  1323. 0,
  1324. 0,
  1325. 0.65
  1326. };
  1327. font = "RobotoCondensed";
  1328. sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
  1329. rows = 1;
  1330. columns = 1;
  1331. strings[] =
  1332. {
  1333. "UNCHECKED"
  1334. };
  1335. checked_strings[] =
  1336. {
  1337. "CHECKED"
  1338. };
  1339. };
  1340. class RscButtonMenu
  1341. {
  1342. idc = -1;
  1343. type = 16;
  1344. style = "0x02 + 0xC0";
  1345. default = 0;
  1346. shadow = 0;
  1347. x = 0;
  1348. y = 0;
  1349. w = 0.095589;
  1350. h = 0.039216;
  1351. animTextureNormal = "#(argb,8,8,3)color(1,1,1,1)";
  1352. animTextureDisabled = "#(argb,8,8,3)color(1,1,1,1)";
  1353. animTextureOver = "#(argb,8,8,3)color(1,1,1,1)";
  1354. animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)";
  1355. animTexturePressed = "#(argb,8,8,3)color(1,1,1,1)";
  1356. animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)";
  1357. colorBackground[] =
  1358. {
  1359. 0,
  1360. 0,
  1361. 0,
  1362. 0.8
  1363. };
  1364. colorBackgroundFocused[] =
  1365. {
  1366. 1,
  1367. 1,
  1368. 1,
  1369. 1
  1370. };
  1371. colorBackground2[] =
  1372. {
  1373. 0.75,
  1374. 0.75,
  1375. 0.75,
  1376. 1
  1377. };
  1378. color[] =
  1379. {
  1380. 1,
  1381. 1,
  1382. 1,
  1383. 1
  1384. };
  1385. colorFocused[] =
  1386. {
  1387. 0,
  1388. 0,
  1389. 0,
  1390. 1
  1391. };
  1392. color2[] =
  1393. {
  1394. 0,
  1395. 0,
  1396. 0,
  1397. 1
  1398. };
  1399. colorText[] =
  1400. {
  1401. 1,
  1402. 1,
  1403. 1,
  1404. 1
  1405. };
  1406. colorDisabled[] =
  1407. {
  1408. 1,
  1409. 1,
  1410. 1,
  1411. 0.25
  1412. };
  1413. textSecondary = "";
  1414. colorSecondary[] =
  1415. {
  1416. 1,
  1417. 1,
  1418. 1,
  1419. 1
  1420. };
  1421. colorFocusedSecondary[] =
  1422. {
  1423. 0,
  1424. 0,
  1425. 0,
  1426. 1
  1427. };
  1428. color2Secondary[] =
  1429. {
  1430. 0,
  1431. 0,
  1432. 0,
  1433. 1
  1434. };
  1435. colorDisabledSecondary[] =
  1436. {
  1437. 1,
  1438. 1,
  1439. 1,
  1440. 0.25
  1441. };
  1442. sizeExSecondary = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  1443. fontSecondary = "PuristaLight";
  1444. period = 1.2;
  1445. periodFocus = 1.2;
  1446. periodOver = 1.2;
  1447. size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  1448. sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  1449. tooltipColorText[] =
  1450. {
  1451. 1,
  1452. 1,
  1453. 1,
  1454. 1
  1455. };
  1456. tooltipColorBox[] =
  1457. {
  1458. 1,
  1459. 1,
  1460. 1,
  1461. 1
  1462. };
  1463. tooltipColorShade[] =
  1464. {
  1465. 0,
  1466. 0,
  1467. 0,
  1468. 0.65
  1469. };
  1470. class TextPos
  1471. {
  1472. left = "0.25 * (((safezoneW / safezoneH) min 1.2) / 40)";
  1473. top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
  1474. right = 0.005;
  1475. bottom = 0;
  1476. };
  1477. class Attributes
  1478. {
  1479. font = "PuristaLight";
  1480. color = "#E5E5E5";
  1481. align = "left";
  1482. shadow = "false";
  1483. };
  1484. class ShortcutPos
  1485. {
  1486. left = "5.25 * (((safezoneW / safezoneH) min 1.2) / 40)";
  1487. top = 0;
  1488. w = "1 * (((safezoneW / safezoneH) min 1.2) / 40)";
  1489. h = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
  1490. };
  1491. soundEnter[] =
  1492. {
  1493. "\A3\ui_f\data\sound\RscButtonMenu\soundEnter",
  1494. 0.09,
  1495. 1
  1496. };
  1497. soundPush[] =
  1498. {
  1499. "\A3\ui_f\data\sound\RscButtonMenu\soundPush",
  1500. 0.09,
  1501. 1
  1502. };
  1503. soundClick[] =
  1504. {
  1505. "\A3\ui_f\data\sound\RscButtonMenu\soundClick",
  1506. 0.09,
  1507. 1
  1508. };
  1509. soundEscape[] =
  1510. {
  1511. "\A3\ui_f\data\sound\RscButtonMenu\soundEscape",
  1512. 0.09,
  1513. 1
  1514. };
  1515. };
  1516. class RscButtonMenuOK
  1517. {
  1518. idc = 1;
  1519. shortcuts[] =
  1520. {
  1521. "0x00050000 + 0",
  1522. 28,
  1523. 57,
  1524. 156
  1525. };
  1526. default = 1;
  1527. text = "OK";
  1528. soundPush[] =
  1529. {
  1530. "\A3\ui_f\data\sound\RscButtonMenuOK\soundPush",
  1531. 0.09,
  1532. 1
  1533. };
  1534. };
  1535. class RscButtonMenuCancel
  1536. {
  1537. idc = 2;
  1538. shortcuts[] =
  1539. {
  1540. "0x00050000 + 1"
  1541. };
  1542. text = "Cancel";
  1543. };
  1544. class RscControlsGroup
  1545. {
  1546. deletable = 0;
  1547. fade = 0;
  1548. class VScrollbar
  1549. {
  1550. color[] =
  1551. {
  1552. 1,
  1553. 1,
  1554. 1,
  1555. 1
  1556. };
  1557. width = 0.021;
  1558. autoScrollEnabled = 1;
  1559. };
  1560. class HScrollbar
  1561. {
  1562. color[] =
  1563. {
  1564. 1,
  1565. 1,
  1566. 1,
  1567. 1
  1568. };
  1569. height = 0.028;
  1570. };
  1571. class Controls
  1572. {
  1573. };
  1574. type = 15;
  1575. idc = -1;
  1576. x = 0;
  1577. y = 0;
  1578. w = 1;
  1579. h = 1;
  1580. shadow = 0;
  1581. style = 16;
  1582. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement