Advertisement
Guest User

Untitled

a guest
Feb 27th, 2015
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.00 KB | None | 0 0
  1. class RscDisplayFTTablet
  2. {
  3. idd = IDD_TABLET;
  4. enableSimulation = 1;
  5. onLoad = "[] spawn FETT_fnc_ft_tablet_init;";
  6. onUnload = "['FT_tablet_timeLoop','onEachFrame'] call BIS_fnc_removeStackedEventhandler;";
  7. class controls
  8. {
  9. class laptopTex : RscPicture
  10. {
  11. idc = -1;
  12. text = "\FatTrack\data\ft_tablet_ca.paa";
  13. x = t_imgX;
  14. y = t_imgY;
  15. w = t_imgW;
  16. h = t_imgH;
  17. };
  18. class title : RscControlsGroupNoScrollbars
  19. {
  20. idc = IDC_TABLET_SCREEN;
  21. x = t_screenX;
  22. y = t_screenY;
  23. w = t_screenW;
  24. h = t_screenH;
  25. class controls
  26. {
  27. class titleBarBackground : RscText
  28. {
  29. idc = -1;
  30. x = 0;
  31. y = 0;
  32. w = t_screenW;
  33. h = TOOLBAR_HEIGHT;
  34. colorBackground[] = CFG_ARR(COLOR_WEST_DARK);
  35. };
  36. class titleBar : RscPicture
  37. {
  38. idc = -1;
  39. x = 0;
  40. y = 0;
  41. w = t_screenW;
  42. h = TOOLBAR_HEIGHT;
  43. text = "\A3\ui_f\data\map\diary\gradient_gs.paa";
  44. colorText[] = CFG_ARR(COLOR_WEST);
  45. };
  46. class titleBarText : RscText
  47. {
  48. idc = -1;
  49. sizeEx = TEXTHEIGHT_TITLE;
  50. x = 0;
  51. y = Y_MID(TEXTHEIGHT_TITLE,TOOLBAR_HEIGHT);
  52. w = t_screenW;
  53. h = TEXTHEIGHT_TITLE;
  54. text = "Main menu";
  55. };
  56. class titleBarTime : RscText
  57. {
  58. idc = IDC_TABLET_TIME;
  59. style = 1;
  60. sizeEx = TEXTHEIGHT_TITLE;
  61. x = 0;
  62. y = Y_MID(TEXTHEIGHT_TITLE,TOOLBAR_HEIGHT);
  63. w = t_screenW;
  64. h = TEXTHEIGHT_TITLE;
  65. };
  66. class mainFrame : RscPicture
  67. {
  68. idc = -1;
  69. x = 0;
  70. y = TOOLBAR_HEIGHT;
  71. w = t_screenW;
  72. h = t_screenH - TOOLBAR_HEIGHT;
  73. text = "\FatTrack\data\ft_t_desktop_ca.paa";
  74. };
  75. class tabletFrame : RscControlsGroup
  76. {
  77. idc = IDC_TABLET_FRAME;
  78. x = 0;
  79. y = TOOLBAR_HEIGHT;
  80. w = t_screenW;
  81. h = t_screenH - TOOLBAR_HEIGHT;
  82. class controls {};
  83. };
  84. class screenEffect : RscPicture
  85. {
  86. idc = IDC_TABLET_EFFECT;
  87. x = 0;
  88. y = 0;
  89. w = t_screenW;
  90. h = t_screenH;
  91. text = "\FatTrack\data\ft_screenEffect_ca.paa";
  92. colorText[] = {0,0,0,0.1};
  93. };
  94. };
  95. };
  96. };
  97. };
  98.  
  99. class RscFTActionText : RscText
  100. {
  101. idc = -1;
  102. x = 0;
  103. y = 0;
  104. w = ROW_WIDTH;
  105. h = ROW_HEIGHT;
  106. text = "";
  107. };
  108.  
  109. class RscFTActionPicture : RscPicture
  110. {
  111. idc = -1;
  112. x = 0;
  113. y = 0;
  114. w = ROW_WIDTH;
  115. h = ROW_HEIGHT;
  116. text = "\A3\ui_f\data\map\diary\gradient_gs.paa";
  117. colorText[] = {0.1,0.1,0.1,1};
  118. };
  119.  
  120. class RscFTActionBackground : RscText
  121. {
  122. idc = -1;
  123. x = 0;
  124. y = 0;
  125. w = ROW_WIDTH;
  126. h = ROW_HEIGHT;
  127. colorBackground[] = {0,0,0,1};
  128. };
  129.  
  130. class RscFTActionButton : RscText
  131. {
  132. idc = -1;
  133. x = 0;
  134. y = 0;
  135. w = ROW_WIDTH;
  136. h = ROW_HEIGHT;
  137. colorBackground[] = CFG_ARR(COLOR_INVISIBLE);
  138. };
  139.  
  140. class RscFTLoadingBar : RscProgress
  141. {
  142. idc = -1;
  143. x = 0;
  144. y = 0;
  145. w = 2 * ROW_WIDTH + ROW_MARGIN_SMALL;
  146. h = ROW_HEIGHT;
  147. };
  148.  
  149. class RscFTText : RscStructuredText
  150. {
  151. idc = -1;
  152. x = 0;
  153. y = 0;
  154. w = ROW_WIDTH;
  155. h = ROW_HEIGHT;
  156. colorBackground[] = {0,0,0,0.5};
  157. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement