2018-06-22 19:41:43 +00:00
|
|
|
class Rsc_ACE_CallScreen_Edit: RscEdit {
|
2015-04-06 20:20:11 +00:00
|
|
|
canModify = 1;
|
2015-06-13 20:12:32 +00:00
|
|
|
colorBackground[] = {0,0,0,0};
|
2015-04-06 20:20:11 +00:00
|
|
|
colorText[] = {0,0,0,1};
|
|
|
|
colorDisabled[] = {1,1,1,0.25};
|
|
|
|
colorSelection[] = {
|
2015-11-30 16:27:09 +00:00
|
|
|
"(profilenamespace getVariable ['GUI_BCG_RGB_R',0.69])",
|
|
|
|
"(profilenamespace getVariable ['GUI_BCG_RGB_G',0.75])",
|
|
|
|
"(profilenamespace getVariable ['GUI_BCG_RGB_B',0.5])",
|
2015-04-06 20:20:11 +00:00
|
|
|
1
|
|
|
|
};
|
|
|
|
text = "";
|
|
|
|
style = "0x00 + 0x40 + 0x200";
|
|
|
|
shadow = 1;
|
|
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) * 1)";
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.288594 * safezoneW + safezoneX";
|
|
|
|
w = "0.0825 * safezoneW";
|
|
|
|
h = "0.044 * safezoneH";
|
2015-02-04 00:16:47 +00:00
|
|
|
};
|
2018-06-22 19:41:43 +00:00
|
|
|
class Rsc_ACE_HiddenButton: RscButton {
|
2015-04-06 20:20:11 +00:00
|
|
|
colorText[] = {0, 0, 0, 0};
|
|
|
|
colorDisabled[] = {0, 0, 0, 0};
|
|
|
|
colorBackground[] = {0, 0, 0, 0};
|
|
|
|
colorBackgroundDisabled[] = {0, 0, 0, 0};
|
|
|
|
colorBackgroundActive[] = {0, 0, 0, 0};
|
|
|
|
colorFocused[] = {0, 0, 0, 0};
|
|
|
|
colorShadow[] = {0, 0, 0, 0};
|
|
|
|
colorBorder[] = {0, 0, 0, 0};
|
|
|
|
w = 0.095589;
|
|
|
|
h = 0.039216;
|
|
|
|
shadow = 0;
|
2015-02-04 00:16:47 +00:00
|
|
|
};
|
2015-01-12 09:48:26 +00:00
|
|
|
|
2018-06-22 19:41:43 +00:00
|
|
|
class Rsc_ACE_NumKeyButton: Rsc_ACE_HiddenButton {};
|
2015-02-04 00:16:47 +00:00
|
|
|
class Rsc_ACE_PhoneInterface {
|
2015-04-06 20:20:11 +00:00
|
|
|
idd = 8855;
|
|
|
|
movingEnable = 1;
|
|
|
|
onLoad = QUOTE(GVAR(IED_CurrentSpeedDial) = -1);
|
|
|
|
class controls {
|
|
|
|
class RscPicture_1200: RscPicture {
|
|
|
|
idc = 1200;
|
2016-04-08 18:34:50 +00:00
|
|
|
text = QPATHTOF(Data\UI\Cellphone_Background.paa);
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.231875 * safezoneW + safezoneX";
|
|
|
|
y = "0.104 * safezoneH + safezoneY";
|
|
|
|
w = "0.195937 * safezoneW";
|
|
|
|
h = "0.704 * safezoneH";
|
2015-04-06 20:20:11 +00:00
|
|
|
};
|
|
|
|
class numkey_1: Rsc_ACE_NumKeyButton {
|
|
|
|
idc = 1600;
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.278281 * safezoneW + safezoneX";
|
|
|
|
y = "0.533 * safezoneH + safezoneY";
|
|
|
|
w = "0.0309375 * safezoneW";
|
|
|
|
h = "0.033 * safezoneH";
|
2015-04-06 20:20:11 +00:00
|
|
|
tooltip = "1";
|
|
|
|
action = "ctrlSetText [1400,((ctrlText 1400) + '1')];";
|
|
|
|
};
|
|
|
|
class numkey_2: Rsc_ACE_NumKeyButton {
|
|
|
|
idc = 1601;
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.314375 * safezoneW + safezoneX";
|
|
|
|
y = "0.533 * safezoneH + safezoneY";
|
|
|
|
w = "0.0309375 * safezoneW";
|
|
|
|
h = "0.033 * safezoneH";
|
2015-04-06 20:20:11 +00:00
|
|
|
tooltip = "2";
|
|
|
|
action = "ctrlSetText [1400,((ctrlText 1400) + '2')];";
|
|
|
|
};
|
|
|
|
class numkey_3: Rsc_ACE_NumKeyButton {
|
|
|
|
idc = 1602;
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.350469 * safezoneW + safezoneX";
|
|
|
|
y = "0.533 * safezoneH + safezoneY";
|
|
|
|
w = "0.0309375 * safezoneW";
|
|
|
|
h = "0.033 * safezoneH";
|
2015-04-06 20:20:11 +00:00
|
|
|
tooltip = "3";
|
|
|
|
action = "ctrlSetText [1400,((ctrlText 1400) + '3')];";
|
|
|
|
};
|
|
|
|
class numkey_4: Rsc_ACE_NumKeyButton {
|
|
|
|
idc = 1603;
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.278281 * safezoneW + safezoneX";
|
|
|
|
y = "0.577 * safezoneH + safezoneY";
|
|
|
|
w = "0.0309375 * safezoneW";
|
|
|
|
h = "0.033 * safezoneH";
|
2015-04-06 20:20:11 +00:00
|
|
|
tooltip = "4";
|
|
|
|
action = "ctrlSetText [1400,((ctrlText 1400) + '4')];";
|
|
|
|
};
|
|
|
|
class numkey_5: Rsc_ACE_NumKeyButton {
|
|
|
|
idc = 1604;
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.314375 * safezoneW + safezoneX";
|
|
|
|
y = "0.577 * safezoneH + safezoneY";
|
|
|
|
w = "0.0309375 * safezoneW";
|
|
|
|
h = "0.033 * safezoneH";
|
2015-04-06 20:20:11 +00:00
|
|
|
tooltip = "5";
|
|
|
|
action = "ctrlSetText [1400,((ctrlText 1400) + '5')];";
|
|
|
|
};
|
|
|
|
class numkey_6: Rsc_ACE_NumKeyButton {
|
|
|
|
idc = 1605;
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.350469 * safezoneW + safezoneX";
|
|
|
|
y = "0.577 * safezoneH + safezoneY";
|
|
|
|
w = "0.0309375 * safezoneW";
|
|
|
|
h = "0.033 * safezoneH";
|
2015-04-06 20:20:11 +00:00
|
|
|
tooltip = "6";
|
|
|
|
action = "ctrlSetText [1400,((ctrlText 1400) + '6')];";
|
|
|
|
};
|
|
|
|
class numkey_7: Rsc_ACE_NumKeyButton {
|
|
|
|
idc = 1606;
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.278281 * safezoneW + safezoneX";
|
|
|
|
y = "0.621 * safezoneH + safezoneY";
|
|
|
|
w = "0.0309375 * safezoneW";
|
|
|
|
h = "0.033 * safezoneH";
|
2015-04-06 20:20:11 +00:00
|
|
|
tooltip = "7";
|
|
|
|
action = "ctrlSetText [1400,((ctrlText 1400) + '7')];";
|
|
|
|
};
|
|
|
|
class numkey_8: Rsc_ACE_NumKeyButton {
|
|
|
|
idc = 1607;
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.314375 * safezoneW + safezoneX";
|
|
|
|
y = "0.621 * safezoneH + safezoneY";
|
|
|
|
w = "0.0309375 * safezoneW";
|
|
|
|
h = "0.033 * safezoneH";
|
2015-04-06 20:20:11 +00:00
|
|
|
tooltip = "8";
|
|
|
|
action = "ctrlSetText [1400,((ctrlText 1400) + '8')];";
|
|
|
|
};
|
|
|
|
class numkey_9: Rsc_ACE_NumKeyButton {
|
|
|
|
idc = 1608;
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.350469 * safezoneW + safezoneX";
|
|
|
|
y = "0.621 * safezoneH + safezoneY";
|
|
|
|
w = "0.0309375 * safezoneW";
|
|
|
|
h = "0.033 * safezoneH";
|
2015-04-06 20:20:11 +00:00
|
|
|
tooltip = "9";
|
|
|
|
action = "ctrlSetText [1400,((ctrlText 1400) + '9')];";
|
|
|
|
};
|
|
|
|
class numkey_0: Rsc_ACE_NumKeyButton {
|
|
|
|
idc = 1609;
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.314375 * safezoneW + safezoneX";
|
|
|
|
y = "0.676 * safezoneH + safezoneY";
|
|
|
|
w = "0.0309375 * safezoneW";
|
|
|
|
h = "0.033 * safezoneH";
|
2015-04-06 20:20:11 +00:00
|
|
|
tooltip = "0";
|
|
|
|
action = "ctrlSetText [1400,((ctrlText 1400) + '0')];";
|
|
|
|
};
|
|
|
|
class speedDialAdd: Rsc_ACE_NumKeyButton {
|
|
|
|
idc = 1610;
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.278281 * safezoneW + safezoneX";
|
|
|
|
y = "0.676 * safezoneH + safezoneY";
|
|
|
|
w = "0.0309375 * safezoneW";
|
|
|
|
h = "0.033 * safezoneH";
|
2015-05-27 17:04:25 +00:00
|
|
|
tooltip = CSTRING(Phone_AddToSpeedDial);
|
2023-11-01 01:29:59 +00:00
|
|
|
action = QUOTE([ARR_2(ctrlText 1401,ctrlText 1400)] call FUNC(addToSpeedDial));
|
2015-04-06 20:20:11 +00:00
|
|
|
};
|
|
|
|
class clear: Rsc_ACE_HiddenButton {
|
|
|
|
idc = 1610;
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.278281 * safezoneW + safezoneX";
|
|
|
|
y = "0.445 * safezoneH + safezoneY";
|
|
|
|
w = "0.020625 * safezoneW";
|
|
|
|
h = "0.033 * safezoneH";
|
2015-05-27 17:04:25 +00:00
|
|
|
tooltip = CSTRING(Clear);
|
2015-04-06 20:20:11 +00:00
|
|
|
action = QUOTE(ctrlSetText [ARR_2(1400,'')];[ctrlText 1401] call FUNC(removeFromSpeedDial);ctrlSetText [ARR_2(1401,'')];);
|
|
|
|
};
|
|
|
|
class dial: Rsc_ACE_HiddenButton {
|
|
|
|
idc = 1611;
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.309219 * safezoneW + safezoneX";
|
|
|
|
y = "0.445 * safezoneH + safezoneY";
|
|
|
|
w = "0.04125 * safezoneW";
|
|
|
|
h = "0.033 * safezoneH";
|
2015-05-27 17:04:25 +00:00
|
|
|
tooltip = CSTRING(Phone_Dial);
|
2023-11-01 01:29:59 +00:00
|
|
|
action = QUOTE([ARR_2(ace_player,ctrlText 1400)] call FUNC(dialPhone));
|
2015-04-06 20:20:11 +00:00
|
|
|
};
|
|
|
|
class up: Rsc_ACE_HiddenButton {
|
|
|
|
idc = 1612;
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.360781 * safezoneW + safezoneX";
|
|
|
|
y = "0.445 * safezoneH + safezoneY";
|
|
|
|
w = "0.020625 * safezoneW";
|
|
|
|
h = "0.033 * safezoneH";
|
2015-05-27 17:04:25 +00:00
|
|
|
tooltip = CSTRING(Phone_Up);
|
2015-04-06 20:20:11 +00:00
|
|
|
action = QUOTE([true] call FUNC(setSpeedDial));
|
|
|
|
};
|
|
|
|
class down: Rsc_ACE_HiddenButton {
|
|
|
|
idc = 1613;
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.345312 * safezoneW + safezoneX";
|
|
|
|
y = "0.485 * safezoneH + safezoneY";
|
|
|
|
w = "0.020625 * safezoneW";
|
|
|
|
h = "0.033 * safezoneH";
|
2015-05-27 17:04:25 +00:00
|
|
|
tooltip = CSTRING(Phone_Down);
|
2015-04-06 20:20:11 +00:00
|
|
|
action = QUOTE([false] call FUNC(setSpeedDial));
|
|
|
|
};
|
|
|
|
class speedDial_Text: RscText {
|
|
|
|
idc = 1405;
|
2023-02-02 05:28:55 +00:00
|
|
|
y = "0.302 * safezoneH + safezoneY";
|
2015-04-06 20:20:11 +00:00
|
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 22) * 1)";
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.288594 * safezoneW + safezoneX";
|
|
|
|
w = "0.0825 * safezoneW";
|
|
|
|
h = "0.044 * safezoneH";
|
2015-04-06 20:20:11 +00:00
|
|
|
text = "Name";
|
|
|
|
};
|
|
|
|
class speedDial_edit: Rsc_ACE_CallScreen_Edit {
|
|
|
|
idc = 1401;
|
2023-02-02 05:28:55 +00:00
|
|
|
y = "0.302 * safezoneH + safezoneY";
|
|
|
|
x = "0.318 * safezoneW + safezoneX";
|
|
|
|
w = "0.1";
|
2015-04-06 20:20:11 +00:00
|
|
|
};
|
|
|
|
class numberEdit_Text: RscText {
|
|
|
|
idc = 1406;
|
2023-02-02 05:28:55 +00:00
|
|
|
y = "0.348 * safezoneH + safezoneY";
|
2015-04-06 20:20:11 +00:00
|
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 22) * 1)";
|
2023-02-02 05:28:55 +00:00
|
|
|
x = "0.288594 * safezoneW + safezoneX";
|
|
|
|
w = "0.0825 * safezoneW";
|
|
|
|
h = "0.044 * safezoneH";
|
2015-04-06 20:20:11 +00:00
|
|
|
text = "#";
|
|
|
|
};
|
|
|
|
class number_edit: Rsc_ACE_CallScreen_Edit {
|
|
|
|
canModify = 0;
|
|
|
|
idc = 1400;
|
2023-02-02 05:28:55 +00:00
|
|
|
y = "0.348 * safezoneH + safezoneY";
|
|
|
|
x = "0.3 * safezoneW + safezoneX";
|
2015-04-06 20:20:11 +00:00
|
|
|
};
|
|
|
|
};
|
2015-02-04 00:16:47 +00:00
|
|
|
};
|