mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
571 lines
32 KiB
C++
571 lines
32 KiB
C++
#include "\z\ace\addons\common\define.hpp"
|
|
|
|
class GVAR(medicalMenu) {
|
|
idd = 314412;
|
|
movingEnable = true;
|
|
onLoad = QUOTE(uiNamespace setVariable [ARR_2(QUOTE(QGVAR(medicalMenu)), _this select 0)]; [ARR_2(QUOTE(QGVAR(id)), true)] call EFUNC(common,blurScreen); [_this select 0] call FUNC(onMenuOpen););
|
|
onUnload = QUOTE([ARR_2(QUOTE(QGVAR(id)), false)] call EFUNC(common,blurScreen); [GVAR(MenuPFHID)] call CBA_fnc_removePerFrameHandler;);
|
|
class controlsBackground {
|
|
class HeaderBackground: ACE_gui_backgroundBase{
|
|
idc = -1;
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
|
x = "1 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "38 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
text = "#(argb,8,8,3)color(0,0,0,0)";
|
|
};
|
|
class CenterBackground: HeaderBackground {
|
|
y = "2.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
h = "16 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
text = "#(argb,8,8,3)color(0,0,0,0.8)";
|
|
colorText[] = {0, 0, 0, "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.9])"};
|
|
colorBackground[] = {0,0,0,"(profilenamespace getvariable ['GUI_BCG_RGB_A',0.9])"};
|
|
};
|
|
class BottomBackground: CenterBackground {
|
|
y = "(18.6 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2))";
|
|
h = "9 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
};
|
|
};
|
|
|
|
class controls {
|
|
class HeaderName {
|
|
idc = 1;
|
|
type = CT_STATIC;
|
|
x = "1 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "38 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
style = ST_LEFT + ST_SHADOW;
|
|
font = "PuristaMedium";
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
|
colorText[] = {0.95, 0.95, 0.95, 0.75};
|
|
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.9])"};
|
|
text = "";
|
|
};
|
|
|
|
class IconsBackGroundBar: ACE_gui_backgroundBase{
|
|
idc = -1;
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
|
x = "1 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "2.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "38 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "3.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
text = QUOTE(PATHTOF(data\background_img.paa));
|
|
colorText[] = {1, 1, 1, 0.0};
|
|
};
|
|
class CatagoryLeft: HeaderName {
|
|
x = "1 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "2.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "12.33 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
style = ST_CENTER;
|
|
colorText[] = {1, 1, 1.0, 0.9};
|
|
colorBackground[] = {0,0,0,0};
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
|
|
text = $STR_ACE_Medical_Menu_EXAMINE_TREATMENT;
|
|
};
|
|
class CatagoryCenter: CatagoryLeft {
|
|
x = "13.33 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
text = $STR_ACE_Medical_Menu_STATUS;
|
|
};
|
|
class CatagoryRight: CatagoryCenter{
|
|
x = "25.66 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
text = $STR_ACE_Medical_Menu_OVERVIEW;
|
|
};
|
|
class Line: ACE_gui_backgroundBase {
|
|
idc = -1;
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
|
x = "1.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "3.7 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "37 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "0.03 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
text = "#(argb,8,8,3)color(1,1,1,0.5)";
|
|
};
|
|
|
|
class iconImg1: ACE_gui_backgroundBase {
|
|
idc = 111;
|
|
x = "1.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "3.73 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "1.5 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "1.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.4)";
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.1)";
|
|
colorBackground[] = {0,0,0,1};
|
|
colorPicture[] = {1,1,1,1};
|
|
colorText[] = {1,1,1,1};
|
|
text = QUOTE(PATHTOF(data\icons\triage_card_small.paa));
|
|
};
|
|
class iconImg2: iconImg1 {
|
|
idc = 112;
|
|
x = "3 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
text = QUOTE(PATHTOF(data\icons\examine_patient_small.paa));
|
|
};
|
|
class iconImg3: iconImg1 {
|
|
idc = 113;
|
|
x = "4.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
text = QUOTE(PATHTOF(data\icons\bandage_fracture_small.paa));
|
|
};
|
|
class iconImg4: iconImg1 {
|
|
idc = 114;
|
|
x = "6 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
text = QUOTE(PATHTOF(data\icons\medication_small.paa));
|
|
};
|
|
class iconImg5: iconImg1 {
|
|
idc = 115;
|
|
x = "7.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
text = QUOTE(PATHTOF(data\icons\airway_management_small.paa));
|
|
};
|
|
class iconImg6: iconImg1 {
|
|
idc = 116;
|
|
x = "9 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
text = QUOTE(PATHTOF(data\icons\advanced_treatment_small.paa));
|
|
};
|
|
class iconImg7: iconImg1 {
|
|
idc = 117;
|
|
x = "10.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
text = QUOTE(PATHTOF(data\icons\icon_carry.paa));
|
|
};
|
|
class iconImg8: iconImg1 {
|
|
idc = 118;
|
|
x = "12 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
text = QUOTE(PATHTOF(data\icons\toggle_self_small.paa));
|
|
};
|
|
|
|
|
|
class BtnIconLeft1: ACE_gui_buttonBase {
|
|
idc = 11;
|
|
x = "1.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "3.73 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "1.5 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "1.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.4)";
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.1)";
|
|
animTextureNormal = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
animTextureDisabled = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
animTextureOver = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
animTextureFocused = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
animTexturePressed = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
animTextureDefault = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
action = QUOTE(['triage'] call FUNC(handleUI_DisplayOptions););
|
|
};
|
|
class BtnIconLeft2: BtnIconLeft1 {
|
|
idc = 12;
|
|
x = "3 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
action = QUOTE(['examine'] call FUNC(handleUI_DisplayOptions););
|
|
};
|
|
class BtnIconLeft3: BtnIconLeft1 {
|
|
idc = 13;
|
|
x = "4.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
action = QUOTE(['bandage'] call FUNC(handleUI_DisplayOptions););
|
|
};
|
|
class BtnIconLeft4: BtnIconLeft1 {
|
|
idc = 14;
|
|
x = "6 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
action = QUOTE(['medication'] call FUNC(handleUI_DisplayOptions););
|
|
};
|
|
class BtnIconLeft5: BtnIconLeft1 {
|
|
idc = 15;
|
|
x = "7.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
action = QUOTE(['airway'] call FUNC(handleUI_DisplayOptions););
|
|
};
|
|
class BtnIconLeft6: BtnIconLeft1 {
|
|
idc = 16;
|
|
x = "9 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
action = QUOTE(['advanced'] call FUNC(handleUI_DisplayOptions););
|
|
};
|
|
class BtnIconLeft7: BtnIconLeft1 {
|
|
idc = 17;
|
|
x = "10.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
action = QUOTE(['drag'] call FUNC(handleUI_DisplayOptions););
|
|
};
|
|
class BtnIconLeft8: BtnIconLeft1 {
|
|
idc = 18;
|
|
x = "12 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
action = QUOTE(['toggle'] call FUNC(handleUI_DisplayOptions););
|
|
};
|
|
|
|
class TriageCardList: ACE_gui_listBoxBase {
|
|
idc = 212;
|
|
x = "1.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "5.4 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "12 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "10 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.7)";
|
|
rowHeight = 0.03;
|
|
colorBackground[] = {0, 0, 0, 0.2};
|
|
colorText[] = {1,1, 1, 1.0};
|
|
colorScrollbar[] = {0.95, 0.95, 0.95, 1};
|
|
colorSelect[] = {0.95, 0.95, 0.95, 1};
|
|
colorSelect2[] = {0.95, 0.95, 0.95, 1};
|
|
colorSelectBackground[] = {0, 0, 0, 0.0};
|
|
colorSelectBackground2[] = {0.0, 0.0, 0.0, 0.0};
|
|
};
|
|
|
|
// Left side
|
|
class BtnMenu1: BtnIconLeft1 {
|
|
idc = 20;
|
|
y = "5.4 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "12 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
text = "";
|
|
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.9)";
|
|
animTextureNormal = "#(argb,8,8,3)color(0,0,0,0.8)";
|
|
animTextureDisabled = "#(argb,8,8,3)color(0,0,0,0.5)";
|
|
animTextureOver = "#(argb,8,8,3)color(1,1,1,1)";
|
|
animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)";
|
|
animTexturePressed = "#(argb,8,8,3)color(1,1,1,1)";
|
|
animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)";
|
|
color[] = {1, 1, 1, 1};
|
|
color2[] = {0,0,0, 1};
|
|
colorBackgroundFocused[] = {1,1,1,1};
|
|
colorBackground[] = {1,1,1,1};
|
|
colorbackground2[] = {1,1,1,1};
|
|
colorDisabled[] = {0.5,0.5,0.5,0.8};
|
|
colorFocused[] = {0,0,0,1};
|
|
periodFocus = 1;
|
|
periodOver = 1;
|
|
action = "";
|
|
};
|
|
class BtnMenu2: BtnMenu1 {
|
|
idc = 21;
|
|
y = "6.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
text = "";
|
|
};
|
|
class BtnMenu3: BtnMenu1 {
|
|
idc = 22;
|
|
y = "7.6 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
text = "";
|
|
};
|
|
class BtnMenu4: BtnMenu1 {
|
|
idc = 23;
|
|
y = "8.7 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
text ="";
|
|
};
|
|
class BtnMenu5: BtnMenu1 {
|
|
idc = 24;
|
|
y = "9.8 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
text = "";
|
|
};
|
|
class BtnMenu6: BtnMenu1 {
|
|
idc = 25;
|
|
y = "10.9 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
text = "";
|
|
};
|
|
class BtnMenu7: BtnMenu1 {
|
|
idc = 26;
|
|
y = "12 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
text = "";
|
|
};
|
|
class BtnMenu8: BtnMenu1 {
|
|
idc = 27;
|
|
y = "13.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
text = "";
|
|
};
|
|
// center
|
|
|
|
class bodyImgBackground: ACE_gui_backgroundBase {
|
|
idc = -1;
|
|
x = "13.33 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "3.73 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "12.33 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "12.33 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.4)";
|
|
colorBackground[] = {1,1,1,1};
|
|
colorPicture[] = {1,1,1,1};
|
|
colorText[] = {1,1,1,1};
|
|
text = QUOTE(PATHTOEF(medical,ui\body_background.paa));
|
|
};
|
|
class bodyImgHead: bodyImgBackground {
|
|
idc = 50;
|
|
x = "13.33 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "3.73 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "12.33 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "12.33 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.4)";
|
|
colorBackground[] = {1,1,1,1};
|
|
colorPicture[] = {1,1,1,0.75};
|
|
colorText[] = {1,1,1,0.75};
|
|
text = QUOTE(PATHTOEF(medical,ui\body_head.paa));
|
|
};
|
|
|
|
class bodyImgTorso: bodyImgHead {
|
|
idc = 51;
|
|
text = QUOTE(PATHTOEF(medical,ui\body_torso.paa));
|
|
};
|
|
class bodyImgArms_l: bodyImgHead {
|
|
idc = 52;
|
|
text = QUOTE(PATHTOEF(medical,ui\body_arm_left.paa));
|
|
};
|
|
class bodyImgArms_r: bodyImgHead {
|
|
idc = 53;
|
|
text = QUOTE(PATHTOEF(medical,ui\body_arm_right.paa));
|
|
};
|
|
class bodyImgLegs_l: bodyImgHead {
|
|
idc = 54;
|
|
text = QUOTE(PATHTOEF(medical,ui\body_leg_left.paa));
|
|
};
|
|
class bodyImgLegs_r: bodyImgHead {
|
|
idc = 55;
|
|
text = QUOTE(PATHTOEF(medical,ui\body_leg_right.paa));
|
|
};
|
|
|
|
|
|
class selectHead: ACE_gui_buttonBase {
|
|
idc = 301;
|
|
x = "18.8 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "3.9 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "1.4 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "1.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.4)";
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.1)";
|
|
animTextureNormal = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
animTextureDisabled = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
animTextureOver = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
animTextureFocused = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
animTexturePressed = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
animTextureDefault = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
action = QUOTE(GVAR(selectedBodyPart) = 0; [GVAR(INTERACTION_TARGET)] call FUNC(updateUIInfo););
|
|
};
|
|
class selectTorso : selectHead {
|
|
idc = 302;
|
|
x = "18.4 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "5.4 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "2.2 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "4.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
action = QUOTE(GVAR(selectedBodyPart) = 1; [GVAR(INTERACTION_TARGET)] call FUNC(updateUIInfo););
|
|
};
|
|
class selectLeftArm: selectHead{
|
|
idc = 303;
|
|
x = "17.4 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "5.9 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "1.1 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "4.3 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
action = QUOTE(GVAR(selectedBodyPart) = 3; [GVAR(INTERACTION_TARGET)] call FUNC(updateUIInfo););
|
|
};
|
|
class selectRightArm: selectLeftArm{
|
|
idc = 304;
|
|
x = "20.6 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
action = QUOTE(GVAR(selectedBodyPart) = 2; [GVAR(INTERACTION_TARGET)] call FUNC(updateUIInfo););
|
|
};
|
|
class selectLeftLeg :selectHead {
|
|
idc = 305;
|
|
x = "18.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "9.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "1.1 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "6 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
action = QUOTE(GVAR(selectedBodyPart) = 5; [GVAR(INTERACTION_TARGET)] call FUNC(updateUIInfo););
|
|
};
|
|
class selectRightLeg :selectLeftLeg {
|
|
idc = 306;
|
|
x = "19.6 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
action = QUOTE(GVAR(selectedBodyPart) = 4; [GVAR(INTERACTION_TARGET)] call FUNC(updateUIInfo););
|
|
};
|
|
|
|
|
|
class TriageTextBottom: HeaderName {
|
|
idc = 2000;
|
|
x = "13.33 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "16.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "12.33 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "1.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
style = ST_CENTER;
|
|
colorText[] = {1, 1, 1.0, 1};
|
|
colorBackground[] = {0,0.0,0.0,0.7};
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
|
text = "";
|
|
};
|
|
|
|
// Right side
|
|
class InjuryList: ACE_gui_listBoxBase {
|
|
idc = 213;
|
|
x = "25.66 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "5.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "12.33 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "10 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.7)";
|
|
rowHeight = 0.03;
|
|
colorBackground[] = {0, 0, 0, 0.2};
|
|
colorText[] = {1,1, 1, 1.0};
|
|
colorScrollbar[] = {0.95, 0.95, 0.95, 1};
|
|
colorSelect[] = {0.95, 0.95, 0.95, 1};
|
|
colorSelect2[] = {0.95, 0.95, 0.95, 1};
|
|
colorSelectBackground[] = {0, 0, 0, 0.0};
|
|
colorSelectBackground2[] = {0.0, 0.0, 0.0, 0.5};
|
|
};
|
|
// bottom
|
|
|
|
class ActivityLogHeader: CatagoryLeft {
|
|
x = "1 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "18.6 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "18.5 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
style = ST_CENTER;
|
|
colorText[] = {0.6, 0.7, 1.0, 1};
|
|
colorBackground[] = {0,0,0,0};
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
|
text = $STR_ACE_Medical_Menu_ACTIVITY_LOG;
|
|
};
|
|
class QuickViewHeader: ActivityLogHeader {
|
|
x = "19.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
text = $STR_ACE_Medical_Menu_QUICK_VIEW;
|
|
};
|
|
class LineBottomHeaders: Line {
|
|
y = "19.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
};
|
|
class ActivityLog: InjuryList {
|
|
idc = 214;
|
|
//style = 16;
|
|
//type = 102;
|
|
//rows=1;
|
|
colorBackground[] = {0, 0, 0, 0};
|
|
x = "1.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "(19.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2))";
|
|
w = "18.5 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "6.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.7)";
|
|
//colorSelectBackground[] = {0, 0, 0, 0.0};
|
|
//colorSelectBackground2[] = {0.0, 0.0, 0.0, 0.0};
|
|
//columns[] = {0.0, 0.08};
|
|
//canDrag=true;
|
|
//arrowEmpty = "#(argb,8,8,3)color(1,1,1,1)";
|
|
// arrowFull = "#(argb,8,8,3)color(1,1,1,1)";
|
|
drawSideArrows = 0;
|
|
//idcLeft = -1;
|
|
//idcRight = -1;
|
|
};
|
|
|
|
class QuikViewLog: InjuryList {
|
|
idc = 215;
|
|
//style = 16;
|
|
//type = 102;
|
|
//rows=1;
|
|
colorBackground[] = {0, 0, 0, 0};
|
|
x = "21.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "(19.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2))";
|
|
w = "18.5 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "6.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.7)";
|
|
colorSelectBackground[] = {0, 0, 0, 0.0};
|
|
colorSelectBackground2[] = {0.0, 0.0, 0.0, 0.0};
|
|
|
|
//columns[] = {0.0, 0.08};
|
|
//canDrag=true;
|
|
//arrowEmpty = "#(argb,8,8,3)color(1,1,1,1)";
|
|
// arrowFull = "#(argb,8,8,3)color(1,1,1,1)";
|
|
drawSideArrows = 0;
|
|
//idcLeft = -1;
|
|
//idcRight = -1;
|
|
};
|
|
|
|
class selectTriageStatus: ACE_gui_buttonBase {
|
|
idc = 2001;
|
|
x = "13.33 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
|
y = "16.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
|
w = "12.33 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "1.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
style = ST_CENTER;
|
|
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.4)";
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
|
animTextureNormal = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
animTextureDisabled = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
animTextureOver = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
animTextureFocused = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
animTexturePressed = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
animTextureDefault = "#(argb,8,8,3)color(0,0,0,0.0)";
|
|
action = QUOTE([] call FUNC(handleUI_dropDownTriageCard););
|
|
};
|
|
class selectTriageStatusNone: selectTriageStatus {
|
|
idc = 2002;
|
|
x = 0;
|
|
y = 0;
|
|
w = 0;
|
|
h = 0;
|
|
text = $STR_ACE_Medical_Menu_TRIAGE_NONE;
|
|
style = ST_CENTER;
|
|
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
|
animTextureNormal = "#(argb,8,8,3)color(0,0,0,0.9)";
|
|
animTextureDisabled = "#(argb,8,8,3)color(0,0,0,0.9)";
|
|
animTextureOver = "#(argb,8,8,3)color(0,0,0,0.9)";
|
|
animTextureFocused = "#(argb,8,8,3)color(0,0,0,0.9)";
|
|
animTexturePressed = "#(argb,8,8,3)color(0,0,0,0.9)";
|
|
animTextureDefault = "#(argb,8,8,3)color(0,0,0,0.9)";
|
|
action = QUOTE([] call FUNC(handleUI_dropDownTriageCard); [ARR_2(GVAR(INTERACTION_TARGET),0)] call FUNC(setTriageStatus););
|
|
};
|
|
|
|
class selectTriageStatusMinor: selectTriageStatus {
|
|
idc = 2003;
|
|
x = 0;
|
|
y = 0;
|
|
w = 0;
|
|
h = 0;
|
|
text = $STR_ACE_Medical_Menu_TRIAGE_MINOR;
|
|
style = ST_CENTER;
|
|
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
|
animTextureNormal = "#(argb,8,8,3)color(0,0.5,0,0.9)";
|
|
animTextureDisabled = "#(argb,8,8,3)color(0,0.5,0,0.9)";
|
|
animTextureOver = "#(argb,8,8,3)color(0,0.5,0,0.9)";
|
|
animTextureFocused = "#(argb,8,8,3)color(0,0.5,0,0.9)";
|
|
animTexturePressed = "#(argb,8,8,3)color(0,0.5,0,0.9)";
|
|
animTextureDefault = "#(argb,8,8,3)color(0,0.5,0,0.9)";
|
|
action = QUOTE([] call FUNC(handleUI_dropDownTriageCard); [ARR_2(GVAR(INTERACTION_TARGET),1)] call FUNC(setTriageStatus););
|
|
};
|
|
class selectTriageStatusDelayed: selectTriageStatus {
|
|
idc = 2004;
|
|
x = 0;
|
|
y = 0;
|
|
w = 0;
|
|
h = 0;
|
|
text = $STR_ACE_Medical_Menu_TRIAGE_DELAYED;
|
|
style = ST_CENTER;
|
|
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
|
animTextureNormal = "#(argb,8,8,3)color(0.77,0.51,0.08,0.9)";
|
|
animTextureDisabled = "#(argb,8,8,3)color(0.77,0.51,0.08,0.9)";
|
|
animTextureOver = "#(argb,8,8,3)color(0.77,0.51,0.08,0.9)";
|
|
animTextureFocused = "#(argb,8,8,3)color(0.77,0.51,0.08,0.9)";
|
|
animTexturePressed = "#(argb,8,8,3)color(0.77,0.51,0.08,0.9)";
|
|
animTextureDefault = "#(argb,8,8,3)color(0.77,0.51,0.08,0.9)";
|
|
action = QUOTE([] call FUNC(handleUI_dropDownTriageCard); [ARR_2(GVAR(INTERACTION_TARGET),2)] call FUNC(setTriageStatus););
|
|
};
|
|
class selectTriageStatusImmediate: selectTriageStatus {
|
|
idc = 2005;
|
|
x = 0;
|
|
y = 0;
|
|
w = 0;
|
|
h = 0;
|
|
text = $STR_ACE_Medical_Menu_TRIAGE_IMMEDIATE;
|
|
style = ST_CENTER;
|
|
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
|
animTextureNormal = "#(argb,8,8,3)color(1,0.2,0.2,0.9)";
|
|
animTextureDisabled = "#(argb,8,8,3)color(1,0.2,0.2,0.9)";
|
|
animTextureOver = "#(argb,8,8,3)color(1,0.2,0.2,0.9)";
|
|
animTextureFocused = "#(argb,8,8,3)color(1,0.2,0.2,0.9)";
|
|
animTexturePressed = "#(argb,8,8,3)color(1,0.2,0.2,0.9)";
|
|
animTextureDefault = "#(argb,8,8,3)color(1,0.2,0.2,0.9)";
|
|
action = QUOTE([] call FUNC(handleUI_dropDownTriageCard); [ARR_2(GVAR(INTERACTION_TARGET),3)] call FUNC(setTriageStatus););
|
|
};
|
|
class selectTriageStatusDeceased: selectTriageStatus {
|
|
idc = 2006;
|
|
x = 0;
|
|
y = 0;
|
|
w = 0;
|
|
h = 0;
|
|
text = $STR_ACE_Medical_Menu_TRIAGE_DECEASED;
|
|
style = ST_CENTER;
|
|
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
|
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
|
animTextureNormal = "#(argb,8,8,3)color(0,0,0,0.9)";
|
|
animTextureDisabled = "#(argb,8,8,3)color(0,0,0,0.9)";
|
|
animTextureOver = "#(argb,8,8,3)color(0,0,0,0.9)";
|
|
animTextureFocused = "#(argb,8,8,3)color(0,0,0,0.9)";
|
|
animTexturePressed = "#(argb,8,8,3)color(0,0,0,0.9)";
|
|
animTextureDefault = "#(argb,8,8,3)color(0,0,0,0.9)";
|
|
action = QUOTE([] call FUNC(handleUI_dropDownTriageCard); [ARR_2(GVAR(INTERACTION_TARGET),4)] call FUNC(setTriageStatus););
|
|
};
|
|
};
|
|
};
|