11class RscText ;
22class RscPicture ;
3+ class RscActivePicture ;
34class ctrlXSliderH ;
45class RscButtonMenuOK ;
56class RscButtonMenuCancel ;
@@ -51,9 +52,9 @@ class GVAR(configure): RscControlsGroupNoScrollbars {
5152 class Container : RscControlsGroupNoScrollbars {
5253 idc = -1 ;
5354 x = safeZoneWAbs / 2 - POS_W(13.5 );
54- y = safeZoneH / 2 - POS_H(6.5 );
55+ y = safeZoneH / 2 - POS_H(8.55 );
5556 w = POS_W(27 );
56- h = POS_H(13 );
57+ h = POS_H(17.1 );
5758 class controls {
5859 class Title : RscText {
5960 text = CSTRING(EditAreaMarker);
@@ -68,7 +69,7 @@ class GVAR(configure): RscControlsGroupNoScrollbars {
6869 x = 0 ;
6970 y = POS_H(1.1 );
7071 w = POS_W(27 );
71- h = POS_H(10 .8 );
72+ h = POS_H(17 .8 );
7273 colorBackground[] = {0 , 0 , 0 , 0.7 };
7374 };
7475 class Transformation : RscControlsGroupNoScrollbars {
@@ -232,17 +233,94 @@ class GVAR(configure): RscControlsGroupNoScrollbars {
232233 };
233234 };
234235 };
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+ };
235313 class ButtonOK : RscButtonMenuOK {
236314 idc = IDC_CONFIGURE_OK;
237315 x = POS_W(22 );
238- y = POS_H(12 );
316+ y = POS_H(16.1 );
239317 w = POS_W(5 );
240318 h = POS_H(1 );
241319 };
242320 class ButtonCancel : RscButtonMenuCancel {
243321 idc = IDC_CONFIGURE_CANCEL;
244322 x = 0 ;
245- y = POS_H(12 );
323+ y = POS_H(16.1 );
246324 w = POS_W(5 );
247325 h = POS_H(1 );
248326 };
0 commit comments