-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathTask_Receiver.hpp
150 lines (149 loc) · 3.62 KB
/
Task_Receiver.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
#define RECEIVERX (profilenamespace getvariable ["IGUI_GRID_BCE_TASKLIST_X", safezoneX])
#define RECEIVERY (profilenamespace getvariable ["IGUI_GRID_BCE_TASKLIST_Y", ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) - ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)])
#define RECEIVERW (profilenamespace getvariable ["IGUI_GRID_BCE_TASKLIST_W", (12 * (((safezoneW / safezoneH) min 1.2) / 40))])
#define RECEIVERH (profilenamespace getvariable ["IGUI_GRID_BCE_TASKLIST_H", (12.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25))])
//-IGUI_GRID_BCE_TASKLIST
class BCE_Task_Receiver
{
idd = -1;
fadein = 0;
fadeout = 0;
duration = 1e+007;
enableSimulation = 1;
movingEnable = 1;
name = "BCE_Task_Receiver";
onLoad = "uiNamespace setVariable ['BCE_Task_Receiver', _this # 0]";
class controlsBackground
{
class Background: RscPicture
{
IDC = 15110;
text = "A3\Ui_f\data\IGUI\RscCustomInfo\background_ca.paa";
x = RECEIVERX;
y = RECEIVERY;
w = RECEIVERW;
h = RECEIVERH - (1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25));
colorText[] = {0.2,0.2,0.2,0.8};
};
class BackgroundGroup: RscControlsGroupNoScrollbars
{
IDC = 15111;
x = RECEIVERX;
y = 1.125 * RECEIVERY;
w = RECEIVERW;
h = RECEIVERH;
class controls{};
};
};
class controls
{
class Title: RscIGUIText
{
colorBackground[] = {"(profilenamespace getvariable ['IGUI_BCG_RGB_R',0])","(profilenamespace getvariable ['IGUI_BCG_RGB_G',1])","(profilenamespace getvariable ['IGUI_BCG_RGB_B',1])","(profilenamespace getvariable ['IGUI_BCG_RGB_A',0.8])"};
idc = 15112;
text = "$STR_BCE_Task_Receiver";
x = RECEIVERX;
y = RECEIVERY - ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25);
w = RECEIVERW;
h = ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25);
sizeEx = "0.8 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
};
class JTAC_Unit: RscIGUIText
{
IDC = 101;
text = "From";
style = 1;
x = RECEIVERX + (0.25 * RECEIVERW);
y = RECEIVERY - ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25);
w = 0.75 * RECEIVERW;
h = ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25);
sizeEx = "0.8 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
};
class TaskList: RscListBox
{
IDC = 102;
x = RECEIVERX;
y = RECEIVERY;
w = RECEIVERW;
h = RECEIVERH;
text = "";
colorBackground[] = {0,0,0,0};
shadow = 2;
font = "RobotoCondensed_BCE";
sizeEx = "((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
class CfgItems
{
class 9Line
{
class Type_Control
{
text = "#: Game Plan :";
};
class Line1: Type_Control
{
text = "1: IP/BP :";
};
class Line2: Type_Control
{
text = "2: HDG :";
};
class Line3: Type_Control
{
text = "3: DIST :";
};
class Line4: Type_Control
{
text = "4: ELEV :";
};
class Line5: Type_Control
{
text = "5: DESC :";
};
class Line6: Type_Control
{
text = "6: GRID :";
};
class Line7: Type_Control
{
text = "7: MARK :";
};
class Line8: Type_Control
{
text = "8: FRND :";
};
class Line9: Type_Control
{
text = "9: EGRS :";
};
class Remark: Type_Control
{
text = "Remarks :";
};
};
class 5Line
{
class Line1
{
text = "1: :";
};
class Line2: Line1
{
text = "2: FRND/Mark :";
};
class Line3: Line2
{
text = "3: TGT :";
};
class Line4: Line2
{
text = "4: Description/Mark :";
};
class Remark: Line2
{
text = "Remarks :";
};
};
};
};
};
};