ACE3/addons/mk6mortar/RscInGameUI.hpp

54 lines
2.6 KiB
C++
Raw Normal View History

2015-04-05 06:57:24 +00:00
class RscInGameUI {
class RscWeaponRangeArtillery {
class CA_IGUI_elements_group: RscControlsGroup {};
};
class ACE_Mk6_RscWeaponRangeArtillery: RscWeaponRangeArtillery {
onLoad = QUOTE(uiNamespace setVariable [ARR_2('ACE_Mk6_RscWeaponRangeArtillery', _this select 0)]; [ARR_2('ace_infoDisplayChanged', [ARR_2(_this select 0, 'Mk6Mortar')])] call CBA_fnc_localEvent;);
controls[] = {"ACE_ChargeDisplay", "ACE_MILS_GROUP", "CA_IGUI_elements_group","CA_RangeElements_group"};
class ACE_ChargeDisplay: RscStructuredText {
idc = 80085;
colorText[] = {1, 1, 1, 1};
colorBackground[] = {0, 0, 0, 0.1};
x = "(profilenamespace getVariable ['IGUI_GRID_WEAPON_X', ((safezoneX + safezoneW) - (12.4 * (((safezoneW / safezoneH) min 1.2) / 40)) - 0.5 * (((safezoneW / safezoneH) min 1.2) / 40))])";
y = "2.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (profilenamespace getVariable ['IGUI_GRID_WEAPON_Y', (safezoneY + 0.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25))])";
w = "10 * (((safezoneW / safezoneH) min 1.2) / 40)";
h = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
};
2015-04-05 06:57:24 +00:00
class ACE_MILS_GROUP: CA_IGUI_elements_group {
idc = 80170;
class controls {
2015-04-05 19:48:26 +00:00
class CA_Heading_MILS: RscText {
2015-04-05 19:34:39 +00:00
idc = 80156;
2015-04-05 19:48:26 +00:00
style = 2;
2015-04-05 19:34:39 +00:00
colorText[] = {0.706,0.0745,0.0196,1};
sizeEx = "0.028*SafezoneH";
shadow = 0;
font = "EtelkaMonospacePro";
text = "015";
2015-04-05 19:48:26 +00:00
x = "25.0 * (0.01875 * SafezoneH)";
2015-04-05 19:34:39 +00:00
y = "6.3 * (0.025 * SafezoneH)";
2015-04-05 19:48:26 +00:00
w = "3.3333 * (0.01875 * SafezoneH)";
2015-04-05 19:34:39 +00:00
h = "1 * (0.025 * SafezoneH)";
};
2015-04-05 06:57:24 +00:00
class CA_Elev_MILS: RscText {
idc = 80175;
style = 1;
sizeEx = "0.038*SafezoneH";
colorText[] = {0.706,0.0745,0.0196,1};
shadow = 0;
font = "EtelkaMonospacePro";
text = "80.5";
2015-04-05 19:34:39 +00:00
x = "36.8 * (0.01875 * SafezoneH)";
y = "29.3 * (0.025 * SafezoneH)";
w = "5.2 * (0.01875 * SafezoneH)";
h = "1.2 * (0.025 * SafezoneH)";
2015-04-05 06:57:24 +00:00
};
class CA_Elev_Need_MILS: CA_Elev_MILS {
idc = 80176;
2015-04-05 19:34:39 +00:00
y = "30.8 * (0.025 * SafezoneH)";
2015-04-05 06:57:24 +00:00
};
};
};
};
};