From 8374a11c60bd95a56e45b9deb69de32ec22dff24 Mon Sep 17 00:00:00 2001 From: Blue Date: Wed, 30 Aug 2023 21:17:26 +0200 Subject: [PATCH] GUI - Add Airway & Pharmacy medical menu visuals (#406) **When merged this pull request will:** - Add Airway and Pharmacy item visuals to medical menu ![image](https://github.com/KAT-Advanced-Medical/KAM/assets/15182031/ce93a820-b8d3-498e-8945-5f401bf76371) ### IMPORTANT - [Development Guidelines](https://ace3.acemod.org/wiki/development/) are read, understood and applied. - Title of this PR uses our standard template `Component - Add|Fix|Improve|Change|Make|Remove {changes}`. --- .../gui/data/body_image/head_guedeltube.paa | Bin 0 -> 23903 bytes addons/gui/data/body_image/head_kinglt.paa | Bin 0 -> 24196 bytes addons/gui/data/body_image/leftarm_iv.paa | Bin 0 -> 24376 bytes addons/gui/data/body_image/leftleg_iv.paa | Bin 0 -> 24560 bytes addons/gui/data/body_image/rightarm_iv.paa | Bin 0 -> 24361 bytes addons/gui/data/body_image/rightleg_iv.paa | Bin 0 -> 24543 bytes addons/gui/data/body_image/torso_io.paa | Bin 0 -> 24650 bytes addons/gui/functions/fnc_updateBodyImage.sqf | 45 ++++++++++++++++++ addons/gui/gui.hpp | 30 ++++++++++++ addons/gui/script_component.hpp | 21 +++++--- 10 files changed, 90 insertions(+), 6 deletions(-) create mode 100644 addons/gui/data/body_image/head_guedeltube.paa create mode 100644 addons/gui/data/body_image/head_kinglt.paa create mode 100644 addons/gui/data/body_image/leftarm_iv.paa create mode 100644 addons/gui/data/body_image/leftleg_iv.paa create mode 100644 addons/gui/data/body_image/rightarm_iv.paa create mode 100644 addons/gui/data/body_image/rightleg_iv.paa create mode 100644 addons/gui/data/body_image/torso_io.paa diff --git a/addons/gui/data/body_image/head_guedeltube.paa b/addons/gui/data/body_image/head_guedeltube.paa new file mode 100644 index 0000000000000000000000000000000000000000..7a9652eb3b2d3adfa3bc1aa7dfc85b252b57fbaf GIT binary patch literal 23903 zcmeI4KWGzi6vy9bQbVU|%_zPhyPFP1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_F2>s@EnyWXkcNqNAionFL3scR5Q~)u3lNKy2ju}QKrB`sln1Z?u~>Of9>4;`V&y@301FU{ zl?UYkEI=$)9+U^L0I^tkP#(Yn#A4+^c>oI#ionF zL3scR5Q~)u}$Y0TydL(0TwCAQmeR$^%${ zSgbrK4`2aeaVPM==m{1(Zi;2o4&CZb9h=-MtGUREy=2SsE?emtEJhqYM#@v9uI|!i z`CLEUju}?%)}I8X0!{0zH`0&{mv%js#xRp5zI_XA8ENZ_W_8>!i%|^IqPBE1Dm@Lm Zo%Cf{+y6F66_tt_#xt`~lrkGd=^yCyTh0Ig literal 0 HcmV?d00001 diff --git a/addons/gui/data/body_image/leftarm_iv.paa b/addons/gui/data/body_image/leftarm_iv.paa new file mode 100644 index 0000000000000000000000000000000000000000..f9e1694be673488e5dbeeb3384836e7d918718fa GIT binary patch literal 24376 zcmeI4U1%It6vxk<-AS@-zGWUXtvTClQk6mr#kJt1&SK36+Pc`Cppckt8d0H}O0lKV zS(B!Sz7#c3e5sK3!T8`qNMR7H{ZOf`#22+Cbp=zb*`l=t5o&dl@toPs>O-Z1)h+D# z!#^{Zot=++e&_5ZGjnyXvon@>xU(k~1c2GuS@7FW#x`=>BXPSk_E-nE6`9+cJ31b> zXnlmdzY^g65Ww+nfKyKaeBKA})zbh?{q*6@H40iqB{TvSHk|`m<*q2Rewd<5u2RrF z7U_N?;&}juuInn~?mxY%`lRO#YWD!_RJMWya_^9iEyMKhx|P%KaNJbguE8S>67%R>K)0PlR$tk?YDrndGBEgZZ~$5G?IMGxm* z@RYYK`%7KG%c+Aw)qb_<+ZQ!`b#^${?_F!osp8jj%{qKGTQ_gjzUz1arF7k^+@Wn) z>3Gm!+h+~$Zh%W#Mr?zLKLmxOQ z1iEfK@X2If=GFO`VUtC-yErfTBQy)3wVH5SGm#!bJyz>0Kqn_~8+Lnd! z(a7TFr=0Ow(5t?TZf|j)$vE@jbykHP`t_Cc*Vm7Brd4sbr`K7lfew1)%Jz%VfhNZb z=SC`w)t4ui&%8d}?-Vcj%`gw5mhZ?@>8(m(Q440Nb|xe4onI>35C0 zTYhwh9(48usel{1=T7%%k8Z04GuxZ4)cYnT=4U2TncluYTtN>PfsahoLf=IP_H-=_ z20}{=!;W5{^7rQcnY2pOcouK-g|kL)%eJMSr3y6|2*i|bBra~=H@W=$u(EBxoE|aP ztT#c^_AN;US{$S?k|%9*q?4 zV4t5a&~-TS+}KKv3_WEXD|LM2`1u|{TF7{z^z}k`6dt(; zkSzHq`N%A=kSsh156l7!$v5Hw`4gU?IWMHejW#QM{I|O)_s@fcVf))OPcO}CX$1b~ zVS5+Q^8o!-Lqh@;<51Xm&51Zq*UGDLb>(BQ9(&9$>UC;jtRExdzpQX8KbW&QDgsDJnC7DJ$YK)y0Tq~? Av;Y7A literal 0 HcmV?d00001 diff --git a/addons/gui/data/body_image/leftleg_iv.paa b/addons/gui/data/body_image/leftleg_iv.paa new file mode 100644 index 0000000000000000000000000000000000000000..6962ecb58b2a57e7389df96d49e7956a7257d09c GIT binary patch literal 24560 zcmeI4e{54#6vxkP``Q(@F$ne7Hhaq+GmtPLnrUKZU(s!hKsEY+>D8dE+GhHje!XWksk^YX23yFrotAZbAOO!5Zcvq_GmSMKM3&$)bmYF zU+?<%-hJQuIp@7DcUOs*mU{h9l~#By0MOIZ10(Hu-r3ZSqo`f#omE0@fkEwON=oKv z_`U(do(AypD1g^y0@N)4So1u@eaUien+Y9`btY9AuAX31G$tFys zOwb(wim-=kBjKLKEux?v{N+ArTqPWgI_-+Xp{sCpgL2$w3f4zpe}mcc056 zb={xXy|vTXGUVFlnYPEZ-(y`H4GHgaCR^pH!W#3l!|~8Sxv-3aqTe%Zur%EqG|v;6 z@c3|eO82Db@uGq33zXL}`@)5aUrT1&+Vf7u1ZC?jW$V?ts}2P_t94)75x??IbogpK zw#{N0W6SAlpAKJtzsUsWh4sU+@770cp4@{4QD@LTKdvV_w>IjW-1(sEvqffoJGeGp zoamM=OCU|3-d9yQ5MKWCzM=WT0v7A618Z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zCrA%T4@Cqx`exJvE?Op5WVVfCu^F3LYTky0(Rou^FO|~z%)@mC-#v+S19jMZh5iw6(nESiMFn;xbv qaEZS~?PpI%YHW7PxD2gr9E*RVjuI*=#?t|jIziHu5Q(SCB>e-2Z>A&w literal 0 HcmV?d00001 diff --git a/addons/gui/data/body_image/rightleg_iv.paa b/addons/gui/data/body_image/rightleg_iv.paa new file mode 100644 index 0000000000000000000000000000000000000000..5a5f1702d4b41a57f32c69285a720730d51dc630 GIT binary patch literal 24543 zcmeI4e`r%z6vxj?@>*N1sj|0Ut>mW7>efGsGROqeCeihWVlmDSeoKp3t2tJx!gm`(ksvf8&h%`qw|ygSF3^o;%QH zhIjNtz1#>_rL;Crw?15>|CSz?WfRQX>X^63u_eRrd+5h|aa%7)nJ{lxe0U;Ain`#m zbKM8p`q_tutEFtPq|F(~7{1aH?vA!fX7GIirori_0DNkp%Wj_)NDV3C3iN{f>{YGq zo^!*Eye$oi3?M)E%iG~tdv$D!)fH9_GrT6%LYRyJhq>}?X?e~XjT0G2HACre0&D_dT+Ut5J0Vs>bACcL01PhGg=iybSDU0Wr;_I%Xp|ELmF zqgHgpt#VP1w*H>8wt2NVS-O$&)N<9bs!A zPcOmJvC?e6Tcli`WH!B@-7>kLHDQ*(Gx@uw>0P#D&*PmolT@nJb^o||iqAT1hl+3$ zE*Aow)Ld@5ksj4NsxHE-k-j2&XdFoiywZ0{qh&;k+Z+$(!H9ss8|MS(1Lp(h14Tff zaXsLAKrE018uP$B5DO%M#yl_&!~#j6F%QfGu|N`N%med4ERX~m^T0e13nYQYJTMQ$ z0!g4T56lCxKoV%o1M@&EkOUg@z&sEOB!R{}Fb~86NuV(g%mcAN5@_Rr2McW(*|As9 z%&Y48cgc5>KpPMKldmL!HlF;Qxf4Lyr>eP^^1pOn4xF#PO;G@E@`@K~FZD0QeL;o< z-o{gW#*4pC?kKw1eRx_o<-d244>!ab8ZZ8jH-DdQ*4DqgJs6|;mL-qs2HY=*O8~X~ zs>=D!{3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EC}Q1!~^jl zSP;h1iHGRtK@n>JBw;Z%?r+D}(8MAq(N@2EyCYF$l<@e%>6$8_&TwgN9EJu$0(=CG-WNu zTeZh1=d1VcF-l6k`!Pnu^cX|3d%yd`fBn8BF%`&0uM+9z86%4#Y2D0eniGy2E!v_v zMgMxXVkKVv&P6vw{D15w1~7 literal 0 HcmV?d00001 diff --git a/addons/gui/functions/fnc_updateBodyImage.sqf b/addons/gui/functions/fnc_updateBodyImage.sqf index c5efc3421..d0bb0e1cc 100644 --- a/addons/gui/functions/fnc_updateBodyImage.sqf +++ b/addons/gui/functions/fnc_updateBodyImage.sqf @@ -81,6 +81,25 @@ private _bodyPartBloodLoss = [0, 0, 0, 0, 0, 0]; [IDC_BODY_LEGRIGHT, IDC_BODY_LEGRIGHT_T, IDC_BODY_LEGRIGHT_B, -1] ]; +// Airway +private _ctrlGuedelTube = _ctrlGroup controlsGroupCtrl IDC_BODY_HEAD_GUEDELTUBE; +private _ctrlKingLT = _ctrlGroup controlsGroupCtrl IDC_BODY_HEAD_KINGLT; + +private _airwayItem = _target getVariable [QEGVAR(airway,airway_item), ""]; + +if !(_airwayItem isEqualTo "") then { + if (_airwayItem isEqualTo "Larynxtubus") then { + _ctrlGuedelTube ctrlShow false; + _ctrlKingLT ctrlShow true; + } else { + _ctrlGuedelTube ctrlShow true; + _ctrlKingLT ctrlShow false; + }; +} else { + _ctrlGuedelTube ctrlShow false; + _ctrlKingLT ctrlShow false; +}; + // Breathing private _ctrlPulseOximeterRight = _ctrlGroup controlsGroupCtrl IDC_BODY_RIGHTARM_PULSEOX; private _ctrlPulseOximeterLeft = _ctrlGroup controlsGroupCtrl IDC_BODY_LEFARM_PULSEOX; @@ -153,4 +172,30 @@ if (_target getVariable [QEGVAR(circulation,AED_X_VitalsMonitor_Connected), fals } else { _ctrlAEDVitalsMonitorRight ctrlShow false; _ctrlAEDVitalsMonitorLeft ctrlShow false; +}; + +// Pharmacy +private _ctrlIVLeftArm = _ctrlGroup controlsGroupCtrl IDC_BODY_LEFTARM_IV; +private _ctrlIVRightArm = _ctrlGroup controlsGroupCtrl IDC_BODY_RIGHTARM_IV; +private _ctrlIVLeftLeg = _ctrlGroup controlsGroupCtrl IDC_BODY_LEFTLEG_IV; +private _ctrlIVRightLeg = _ctrlGroup controlsGroupCtrl IDC_BODY_RIGHTLEG_IV; +private _ctrlIO = _ctrlGroup controlsGroupCtrl IDC_BODY_TORSO_IO; + +private _IVArray = _target getVariable [QEGVAR(pharma,IV), [0,0,0,0,0,0]]; + +{ + switch (_IVArray select (_forEachIndex + 2)) do { + case 0: { + _x ctrlShow false; + }; + default { + _x ctrlShow true; + }; + }; +} forEach [_ctrlIVLeftArm, _ctrlIVRightArm, _ctrlIVLeftLeg, _ctrlIVRightLeg]; + +if ((_IVArray select 1) isEqualTo 1) then { + _ctrlIO ctrlShow true; +} else { + _ctrlIO ctrlShow false; }; \ No newline at end of file diff --git a/addons/gui/gui.hpp b/addons/gui/gui.hpp index 2a5ce52a6..6670a6b1b 100644 --- a/addons/gui/gui.hpp +++ b/addons/gui/gui.hpp @@ -37,6 +37,15 @@ class ACEGVAR(medical_gui,BodyImage): RscControlsGroupNoScrollbars { colorText[] = {1, 0.95, 0, 1}; show = 0; }; + class Head_GuedelTube: Torso_ChestSeal { + idc = IDC_BODY_HEAD_GUEDELTUBE; + text = QPATHTOF(data\body_image\head_guedeltube.paa); + colorText[] = {0.1, 1, 1, 1}; + }; + class Head_KingLT: Head_GuedelTube { + idc = IDC_BODY_HEAD_KINGLT; + text = QPATHTOF(data\body_image\head_kinglt.paa); + }; class RightArm_PulseOximeter: Background { idc = IDC_BODY_RIGHTARM_PULSEOX; text = QPATHTOF(data\body_image\rightarm_pulseoximeter.paa); @@ -61,11 +70,32 @@ class ACEGVAR(medical_gui,BodyImage): RscControlsGroupNoScrollbars { idc = IDC_BODY_LEFTARM_AED_VITALS; text = QPATHTOF(data\body_image\leftarm_aed_vitals_monitor.paa); }; + class Torso_IO: Torso_ChestSeal { + idc = IDC_BODY_TORSO_IO; + text = QPATHTOF(data\body_image\torso_io.paa); + colorText[] = {0.3, 0.6, 0.3, 1}; + }; class Torso_Pneumothorax: Torso_ChestSeal { idc = IDC_BODY_TORSO_PNEUMOTHORAX; text = QPATHTOF(data\body_image\torso_pneumothorax.paa); colorText[] = {1, 1, 1, 1}; }; + class RightArm_IV: Torso_IO { + idc = IDC_BODY_RIGHTARM_IV; + text = QPATHTOF(data\body_image\rightarm_iv.paa); + }; + class LeftArm_IV: RightArm_IV { + idc = IDC_BODY_LEFTARM_IV; + text = QPATHTOF(data\body_image\leftarm_iv.paa); + }; + class RightLeg_IV: RightArm_IV { + idc = IDC_BODY_RIGHTLEG_IV; + text = QPATHTOF(data\body_image\rightleg_iv.paa); + }; + class LeftLeg_IV: RightArm_IV { + idc = IDC_BODY_LEFTLEG_IV; + text = QPATHTOF(data\body_image\leftleg_iv.paa); + }; }; }; diff --git a/addons/gui/script_component.hpp b/addons/gui/script_component.hpp index 8d4df9b82..358cdcbb9 100644 --- a/addons/gui/script_component.hpp +++ b/addons/gui/script_component.hpp @@ -88,13 +88,22 @@ #define IDC_TRIAGE_SELECT 7100 -#define IDC_BODY_TORSO_I 70100 +#define IDC_BODY_TORSO_I 70100 -#define IDC_BODY_TORSO_AED_PADS 70120 -#define IDC_BODY_TORSO_CHESTSEAL 70121 -#define IDC_BODY_TORSO_PNEUMOTHORAX 70122 +#define IDC_BODY_HEAD_GUEDELTUBE 70110 +#define IDC_BODY_HEAD_KINGLT 70111 + +#define IDC_BODY_TORSO_AED_PADS 70120 +#define IDC_BODY_TORSO_CHESTSEAL 70121 +#define IDC_BODY_TORSO_PNEUMOTHORAX 70122 +#define IDC_BODY_TORSO_IO 70123 #define IDC_BODY_RIGHTARM_AED_VITALS 70130 #define IDC_BODY_LEFTARM_AED_VITALS 70131 -#define IDC_BODY_RIGHTARM_PULSEOX 70132 -#define IDC_BODY_LEFTARM_PULSEOX 70133 \ No newline at end of file +#define IDC_BODY_RIGHTARM_PULSEOX 70132 +#define IDC_BODY_LEFTARM_PULSEOX 70133 +#define IDC_BODY_RIGHTARM_IV 70134 +#define IDC_BODY_LEFTARM_IV 70135 + +#define IDC_BODY_RIGHTLEG_IV 70141 +#define IDC_BODY_LEFTLEG_IV 70142 \ No newline at end of file