Skip to content

Commit

Permalink
Medical GUI - Add R and L labels on body image (#9480)
Browse files Browse the repository at this point in the history
Add R and L labels on body image
  • Loading branch information
amsteadrayle authored Oct 12, 2023
1 parent 1764823 commit 2eb9148
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
17 changes: 17 additions & 0 deletions addons/medical_gui/gui.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,23 @@ class ACE_Medical_Menu {
};
class TriageToggle: GVAR(TriageToggle) {};
class TriageSelect: GVAR(TriageSelect) {};
class BodyLabelLeft: RscText {
idc = -1;
style = ST_RIGHT;
text = CSTRING(BodyLabelLeft);
font = "RobotoCondensedBold";
x = QUOTE(POS_X(16.5));
y = QUOTE(POS_Y(10.5));
w = QUOTE(POS_W(6.0));
h = QUOTE(POS_H(2.0));
sizeEx = QUOTE(POS_H(1.4));
colorText[] = {1, 1, 1, 0.33};
shadow = 0;
};
class BodyLabelRight: BodyLabelLeft {
style = ST_LEFT;
text = CSTRING(BodyLabelRight);
};
};
};

Expand Down
6 changes: 6 additions & 0 deletions addons/medical_gui/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1343,5 +1343,11 @@
<German>Chronisches Trauma</German>
<Korean>심각한 외상</Korean>
</Key>
<Key ID="STR_ACE_Medical_GUI_BodyLabelLeft">
<English>L</English>
</Key>
<Key ID="STR_ACE_Medical_GUI_BodyLabelRight">
<English>R</English>
</Key>
</Package>
</Project>

0 comments on commit 2eb9148

Please sign in to comment.