Advertisement
Guest User

Untitled

a guest
Feb 28th, 2015
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 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 = -1;
  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. class tabletButtonGroup : RscControlsGroup
  95. {
  96. idc = IDC_TABLET_SCREEN;
  97. x = 0;
  98. y = TOOLBAR_HEIGHT;
  99. w = t_screenW;
  100. h = t_screenH - TOOLBAR_HEIGHT;
  101. class controls {};
  102. };
  103. };
  104. };
  105. };
  106. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement