1
1
class RscText ;
2
2
class RscPicture ;
3
+ class RscActivePicture ;
3
4
class ctrlXSliderH ;
4
5
class RscButtonMenuOK ;
5
6
class RscButtonMenuCancel ;
@@ -51,9 +52,9 @@ class GVAR(configure): RscControlsGroupNoScrollbars {
51
52
class Container : RscControlsGroupNoScrollbars {
52
53
idc = -1 ;
53
54
x = safeZoneWAbs / 2 - POS_W(13.5 );
54
- y = safeZoneH / 2 - POS_H(6.5 );
55
+ y = safeZoneH / 2 - POS_H(8.55 );
55
56
w = POS_W(27 );
56
- h = POS_H(13 );
57
+ h = POS_H(17.1 );
57
58
class controls {
58
59
class Title : RscText {
59
60
text = CSTRING(EditAreaMarker);
@@ -68,7 +69,7 @@ class GVAR(configure): RscControlsGroupNoScrollbars {
68
69
x = 0 ;
69
70
y = POS_H(1.1 );
70
71
w = POS_W(27 );
71
- h = POS_H(10 .8 );
72
+ h = POS_H(17 .8 );
72
73
colorBackground[] = {0 , 0 , 0 , 0.7 };
73
74
};
74
75
class Transformation : RscControlsGroupNoScrollbars {
@@ -232,17 +233,94 @@ class GVAR(configure): RscControlsGroupNoScrollbars {
232
233
};
233
234
};
234
235
};
236
+ class SideVisibility : RscControlsGroupNoScrollbars {
237
+ idc = -1 ;
238
+ x = POS_W(0.5 );
239
+ y = POS_H(11.6 );
240
+ w = POS_W(26 );
241
+ h = POS_H(4.1 );
242
+ class controls {
243
+ class Title : EGVAR(common,RscLabel) {
244
+ text = " $STR_disp_arcunit_side" ;
245
+ w = POS_W (26 );
246
+ };
247
+ class Background : EGVAR(common,RscBackground) {
248
+ x = 0 ;
249
+ y = POS_H (1 );
250
+ w = POS_W (26 );
251
+ h = POS_H (3 );
252
+ };
253
+
254
+ class SideVisibilityIcons : RscControlsGroupNoScrollbars {
255
+ idc = IDC_CONFIGURE_SIDEVISIBILITY;
256
+ x = POS_W(3 );
257
+ y = POS_H(1.1 );
258
+ w = POS_W(20 );
259
+ h = POS_H(3 );
260
+ onSetFocus = " [_this," " RscAttributeOwners" " ,'CuratorCommon'] call (uinamespace getvariable " " BIS_fnc_initCuratorAttribute" " )" ;
261
+ class controls {
262
+ class Background : RscText {
263
+ x = 0 ;
264
+ y = 0 ;
265
+ w = POS_W(20 );
266
+ h = POS_H(2.9 );
267
+ colorBackground[] = {0 , 0 , 0 , 0.7 };
268
+ };
269
+ class BLUFOR : RscActivePicture
270
+ {
271
+ idc=IDC_CONFIGURE_SIDEVISIBILITY_WEST;
272
+ text=" \a 3\Ui_F_Curator\Data\Displays\RscDisplayCurator\side_west_ca.paa" ;
273
+ x=POS_W(3 );
274
+ y=POS_H(0.4 );
275
+ w=POS_W(2 );
276
+ h=POS_H(2 );
277
+ tooltip=" $STR_WEST" ;
278
+ };
279
+ class OPFOR : BLUFOR
280
+ {
281
+ idc=IDC_CONFIGURE_SIDEVISIBILITY_EAST;
282
+ text=" \a 3\Ui_F_Curator\Data\Displays\RscDisplayCurator\side_east_ca.paa" ;
283
+ x=POS_W(7 );
284
+ y=POS_H(0.4 );
285
+ w=POS_W(2 );
286
+ h=POS_H(2 );
287
+ tooltip=" $STR_EAST" ;
288
+ };
289
+ class Independent : BLUFOR
290
+ {
291
+ idc=IDC_CONFIGURE_SIDEVISIBILITY_GUER;
292
+ text=" \a 3\Ui_F_Curator\Data\Displays\RscDisplayCurator\side_guer_ca.paa" ;
293
+ x=POS_W(11 );
294
+ y=POS_H(0.4 );
295
+ w=POS_W(2 );
296
+ h=POS_H(2 );
297
+ tooltip=" $STR_guerrila" ;
298
+ };
299
+ class Civilian : BLUFOR
300
+ {
301
+ idc=IDC_CONFIGURE_SIDEVISIBILITY_CIV;
302
+ text=" \a 3\Ui_F_Curator\Data\Displays\RscDisplayCurator\side_civ_ca.paa" ;
303
+ x=POS_W(15 );
304
+ y=POS_H(0.4 );
305
+ w=POS_W(2 );
306
+ h=POS_H(2 );
307
+ tooltip=" $STR_Civilian" ;
308
+ };
309
+ };
310
+ };
311
+ };
312
+ };
235
313
class ButtonOK : RscButtonMenuOK {
236
314
idc = IDC_CONFIGURE_OK;
237
315
x = POS_W(22 );
238
- y = POS_H(12 );
316
+ y = POS_H(16.1 );
239
317
w = POS_W(5 );
240
318
h = POS_H(1 );
241
319
};
242
320
class ButtonCancel : RscButtonMenuCancel {
243
321
idc = IDC_CONFIGURE_CANCEL;
244
322
x = 0 ;
245
- y = POS_H(12 );
323
+ y = POS_H(16.1 );
246
324
w = POS_W(5 );
247
325
h = POS_H(1 );
248
326
};
0 commit comments