Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class RscDisplayFTTablet
- {
- idd = IDD_TABLET;
- enableSimulation = 1;
- onLoad = "[] spawn FETT_fnc_ft_tablet_init;";
- onUnload = "['FT_tablet_timeLoop','onEachFrame'] call BIS_fnc_removeStackedEventhandler;";
- class controls
- {
- class laptopTex : RscPicture
- {
- idc = -1;
- text = "\FatTrack\data\ft_tablet_ca.paa";
- x = t_imgX;
- y = t_imgY;
- w = t_imgW;
- h = t_imgH;
- };
- class title : RscControlsGroupNoScrollbars
- {
- idc = IDC_TABLET_SCREEN;
- x = t_screenX;
- y = t_screenY;
- w = t_screenW;
- h = t_screenH;
- class controls
- {
- class titleBarBackground : RscText
- {
- idc = -1;
- x = 0;
- y = 0;
- w = t_screenW;
- h = TOOLBAR_HEIGHT;
- colorBackground[] = CFG_ARR(COLOR_WEST_DARK);
- };
- class titleBar : RscPicture
- {
- idc = -1;
- x = 0;
- y = 0;
- w = t_screenW;
- h = TOOLBAR_HEIGHT;
- text = "\A3\ui_f\data\map\diary\gradient_gs.paa";
- colorText[] = CFG_ARR(COLOR_WEST);
- };
- class titleBarText : RscText
- {
- idc = -1;
- sizeEx = TEXTHEIGHT_TITLE;
- x = 0;
- y = Y_MID(TEXTHEIGHT_TITLE,TOOLBAR_HEIGHT);
- w = t_screenW;
- h = TEXTHEIGHT_TITLE;
- text = "Main menu";
- };
- class titleBarTime : RscText
- {
- idc = IDC_TABLET_TIME;
- style = 1;
- sizeEx = TEXTHEIGHT_TITLE;
- x = 0;
- y = Y_MID(TEXTHEIGHT_TITLE,TOOLBAR_HEIGHT);
- w = t_screenW;
- h = TEXTHEIGHT_TITLE;
- };
- class mainFrame : RscPicture
- {
- idc = -1;
- x = 0;
- y = TOOLBAR_HEIGHT;
- w = t_screenW;
- h = t_screenH - TOOLBAR_HEIGHT;
- text = "\FatTrack\data\ft_t_desktop_ca.paa";
- };
- class tabletFrame : RscControlsGroup
- {
- idc = IDC_TABLET_FRAME;
- x = 0;
- y = TOOLBAR_HEIGHT;
- w = t_screenW;
- h = t_screenH - TOOLBAR_HEIGHT;
- class controls {};
- };
- class screenEffect : RscPicture
- {
- idc = IDC_TABLET_EFFECT;
- x = 0;
- y = 0;
- w = t_screenW;
- h = t_screenH;
- text = "\FatTrack\data\ft_screenEffect_ca.paa";
- colorText[] = {0,0,0,0.1};
- };
- };
- };
- };
- };
- class RscFTActionText : RscText
- {
- idc = -1;
- x = 0;
- y = 0;
- w = ROW_WIDTH;
- h = ROW_HEIGHT;
- text = "";
- };
- class RscFTActionPicture : RscPicture
- {
- idc = -1;
- x = 0;
- y = 0;
- w = ROW_WIDTH;
- h = ROW_HEIGHT;
- text = "\A3\ui_f\data\map\diary\gradient_gs.paa";
- colorText[] = {0.1,0.1,0.1,1};
- };
- class RscFTActionBackground : RscText
- {
- idc = -1;
- x = 0;
- y = 0;
- w = ROW_WIDTH;
- h = ROW_HEIGHT;
- colorBackground[] = {0,0,0,1};
- };
- class RscFTActionButton : RscText
- {
- idc = -1;
- x = 0;
- y = 0;
- w = ROW_WIDTH;
- h = ROW_HEIGHT;
- colorBackground[] = CFG_ARR(COLOR_INVISIBLE);
- };
- class RscFTLoadingBar : RscProgress
- {
- idc = -1;
- x = 0;
- y = 0;
- w = 2 * ROW_WIDTH + ROW_MARGIN_SMALL;
- h = ROW_HEIGHT;
- };
- class RscFTText : RscStructuredText
- {
- idc = -1;
- x = 0;
- y = 0;
- w = ROW_WIDTH;
- h = ROW_HEIGHT;
- colorBackground[] = {0,0,0,0.5};
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement