Skip to content

Commit

Permalink
GUI update
Browse files Browse the repository at this point in the history
  • Loading branch information
Cplhardcore committed Nov 6, 2024
1 parent fd4c4cd commit 9961493
Show file tree
Hide file tree
Showing 41 changed files with 25 additions and 25 deletions.
Binary file modified addons/medical_gui/data/body_image/arm_left.paa
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/arm_left_b.paa
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/arm_left_s.paa
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/arm_left_t.paa
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/arm_right.paa
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/arm_right_b.paa
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/arm_right_s.paa
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/arm_right_t.paa
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added addons/medical_gui/data/body_image/chest.paa
Binary file not shown.
Binary file added addons/medical_gui/data/body_image/chest_s.paa
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/head.paa
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/head_s.paa
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/leg_left.paa
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/leg_left_b.paa
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/leg_left_s.paa
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/leg_left_t.paa
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/leg_right.paa
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/leg_right_b.paa
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/leg_right_s.paa
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/leg_right_t.paa
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added addons/medical_gui/data/body_image/neck.paa
Binary file not shown.
Binary file added addons/medical_gui/data/body_image/neck_s.paa
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/torso.paa
Binary file not shown.
Binary file modified addons/medical_gui/data/body_image/torso_s.paa
Binary file not shown.
50 changes: 25 additions & 25 deletions addons/medical_gui/gui.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ class GVAR(BodyImage): RscControlsGroupNoScrollbars {
};
class Neck: Background {
idc = IDC_BODY_NECK;
text = QPATHTOF(data\body_image\head.paa);
text = QPATHTOF(data\body_image\neck.paa);
};
class Chest: Background {
idc = IDC_BODY_CHEST;
text = QPATHTOF(data\body_image\torso.paa);
text = QPATHTOF(data\body_image\chest.paa);
};
class Torso: Background {
idc = IDC_BODY_TORSO;
Expand All @@ -44,31 +44,31 @@ class GVAR(BodyImage): RscControlsGroupNoScrollbars {
};
class ArmUpperLeft: Background {
idc = IDC_BODY_ARMUPPERLEFT;
text = QPATHTOF(data\body_image\arm_left.paa);
text = QPATHTOF(data\body_image\arm_upper_left.paa);
};
class ArmRight: Background {
idc = IDC_BODY_ARMRIGHT;
text = QPATHTOF(data\body_image\arm_right.paa);
};
class ArmUpperRight: Background {
idc = IDC_BODY_ARMUPPERRIGHT;
text = QPATHTOF(data\body_image\arm_right.paa);
text = QPATHTOF(data\body_image\arm_upper_right.paa);
};
class LegLeft: Background {
idc = IDC_BODY_LEGLEFT;
text = QPATHTOF(data\body_image\leg_left.paa);
};
class LegUpperLeft: Background {
idc = IDC_BODY_LEGUPPERLEFT;
text = QPATHTOF(data\body_image\leg_left.paa);
text = QPATHTOF(data\body_image\leg_upper_left.paa);
};
class LegRight: Background {
idc = IDC_BODY_LEGRIGHT;
text = QPATHTOF(data\body_image\leg_right.paa);
};
class LegUpperRight: Background {
idc = IDC_BODY_LEGUPPERRIGHT;
text = QPATHTOF(data\body_image\leg_right.paa);
text = QPATHTOF(data\body_image\leg_upper_right.paa);
};
class ArmLeftB: Background {
idc = IDC_BODY_ARMLEFT_B;
Expand All @@ -78,49 +78,49 @@ class GVAR(BodyImage): RscControlsGroupNoScrollbars {
};
class ArmUpperLeftB: ArmLeftB {
idc = IDC_BODY_ARMUPPERLEFT_B;
text = QPATHTOF(data\body_image\arm_left_b.paa);
text = QPATHTOF(data\body_image\arm_upper_left_b.paa);
};
class ArmRightB: ArmLeftB {
idc = IDC_BODY_ARMRIGHT_B;
text = QPATHTOF(data\body_image\arm_right_b.paa);
};
class ArmUpperRightB: ArmLeftB {
idc = IDC_BODY_ARMUPPERRIGHT_B;
text = QPATHTOF(data\body_image\arm_right_b.paa);
text = QPATHTOF(data\body_image\arm_upper_right_b.paa);
};
class LegLeftB: ArmLeftB {
idc = IDC_BODY_LEGLEFT_B;
text = QPATHTOF(data\body_image\leg_left_b.paa);
};
class LegUpperLeftB: ArmLeftB {
idc = IDC_BODY_LEGUPPERLEFT_B;
text = QPATHTOF(data\body_image\leg_left_b.paa);
text = QPATHTOF(data\body_image\leg_upper_left_b.paa);
};
class LegRightB: ArmLeftB {
idc = IDC_BODY_LEGRIGHT_B;
text = QPATHTOF(data\body_image\leg_right_b.paa);
};
class LegUpperRightB: ArmLeftB {
idc = IDC_BODY_LEGUPPERRIGHT_B;
text = QPATHTOF(data\body_image\leg_right_b.paa);
text = QPATHTOF(data\body_image\leg_upper_right_b.paa);
};
class ArmLeftT: Background {
idc = IDC_BODY_ARMLEFT_T;
text = QPATHTOF(data\body_image\arm_left_t.paa);
text = QPATHTOF(data\body_image\arm_lower_left_t.paa);
colorText[] = {0, 0, 0.8, 1};
show = 0;
};
class ArmRightT: ArmLeftT {
idc = IDC_BODY_ARMRIGHT_T;
text = QPATHTOF(data\body_image\arm_right_t.paa);
text = QPATHTOF(data\body_image\arm_lower_right_t.paa);
};
class LegLeftT: ArmLeftT {
idc = IDC_BODY_LEGLEFT_T;
text = QPATHTOF(data\body_image\leg_left_t.paa);
text = QPATHTOF(data\body_image\leg_lower_left_t.paa);
};
class LegRightT: ArmLeftT {
idc = IDC_BODY_LEGRIGHT_T;
text = QPATHTOF(data\body_image\leg_right_t.paa);
text = QPATHTOF(data\body_image\leg_lower_right_t.paa);
};
class ArmUpperLeftT: ArmLeftT {
idc = IDC_BODY_ARMUPPERLEFT_T;
Expand All @@ -146,13 +146,13 @@ class GVAR(BodyImage): RscControlsGroupNoScrollbars {
};
class NeckS: Background {
idc = IDC_BODY_NECK_S;
text = QPATHTOF(data\body_image\head_s.paa);
text = QPATHTOF(data\body_image\neck_s.paa);
colorText[] = {1.0, 1.0, 1.0, 1.0};
show = 0;
};
class ChestS: HeadS {
idc = IDC_BODY_CHEST_S;
text = QPATHTOF(data\body_image\torso_s.paa);
text = QPATHTOF(data\body_image\chest_s.paa);
};
class TorsoS: HeadS {
idc = IDC_BODY_TORSO_S;
Expand All @@ -176,19 +176,19 @@ class GVAR(BodyImage): RscControlsGroupNoScrollbars {
};
class ArmUpperLeftS: HeadS {
idc = IDC_BODY_ARMUPPERLEFT_S;
text = QPATHTOF(data\body_image\arm_left_s.paa);
text = QPATHTOF(data\body_image\arm_upper_left_s.paa);
};
class ArmUpperRightS: HeadS {
idc = IDC_BODY_ARMUPPERRIGHT_S;
text = QPATHTOF(data\body_image\arm_right_s.paa);
text = QPATHTOF(data\body_image\arm_upper_right_s.paa);
};
class LegUpperLeftS: HeadS {
idc = IDC_BODY_LEGUPPERLEFT_S;
text = QPATHTOF(data\body_image\leg_left_s.paa);
text = QPATHTOF(data\body_image\leg_upper_left_s.paa);
};
class LegUpperRightS: HeadS {
idc = IDC_BODY_LEGUPPERRIGHT_S;
text = QPATHTOF(data\body_image\leg_right_s.paa);
text = QPATHTOF(data\body_image\leg_upper_right_s.paa);
};
};
};
Expand Down Expand Up @@ -517,31 +517,31 @@ class ACE_Medical_Menu {
x = QUOTE(POS_X(20.0));
y = QUOTE(POS_Y(11.7));
w = QUOTE(POS_W(1.1));
h = QUOTE(POS_H(2.9));
h = QUOTE(POS_H(2.4));
};
class SelectLegLeft: SelectUpperLegLeft {
onButtonClick = QUOTE(GVAR(selectedBodyPart) = 9);
tooltip = CSTRING(SelectLeftUpperLeg);
x = QUOTE(POS_X(20.0));
y = QUOTE(POS_Y(8.8));
y = QUOTE(POS_Y(8.4));
w = QUOTE(POS_W(1.1));
h = QUOTE(POS_H(2.9));
h = QUOTE(POS_H(3.3));
};
class SelectUpperLegRight: SelectHead {
onButtonClick = QUOTE(GVAR(selectedBodyPart) = 10);
tooltip = CSTRING(SelectRightLeg);
x = QUOTE(POS_X(18.9));
y = QUOTE(POS_Y(11.7));
w = QUOTE(POS_W(1.1));
h = QUOTE(POS_H(2.9));
h = QUOTE(POS_H(2.4));
};
class SelectLegRight: SelectUpperLegRight {
onButtonClick = QUOTE(GVAR(selectedBodyPart) = 11);
tooltip = CSTRING(SelectRightUpperLeg);
x = QUOTE(POS_X(18.9));
y = QUOTE(POS_Y(8.8));
w = QUOTE(POS_W(1.1));
h = QUOTE(POS_H(2.9));
h = QUOTE(POS_H(3.3));
};
class Injuries: TriageCard {
idc = IDC_INJURIES;
Expand Down

0 comments on commit 9961493

Please sign in to comment.