ACE3/addons/medical_gui/XEH_PREP.hpp
amsteadrayle 1e3d9cc22a
Medical GUI - Show number of available treatment items in medical menu (#9474)
* Initial implementation of item count display

* Put everything inside function, add padding

* Extract and explain null string

* Fix tab in config file

* Add function header

* Use ACE item counting function

* Extract column width to variable

* Move constants declaration closer to usage

* Add special case for sutures

* Add setting to enable/disable

* Expand to allow showing in tooltip

* Split into counting and formatting function

* Fix incorrect check for case with no items

* Remove ineffective padding from tooltip

* Check for surgical kit item instead of display name

* Update return description in header

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* Add `private` keyword for inline functions

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* capitalization/vars

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* nil checks, localize macro

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Remove button text mode and setting

* possessive

* Update addons/medical_gui/functions/fnc_formatItemCounts.sqf

---------

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2023-10-12 22:39:23 -04:00

27 lines
591 B
C++

PREP(addTreatmentActions);
PREP(bloodLossToRGBA);
PREP(canOpenMenu);
PREP(collectActions);
PREP(countTreatmentItems);
PREP(damageToRGBA);
PREP(displayPatientInformation);
PREP(displayTriageCard);
PREP(formatItemCounts);
PREP(handleToggle);
PREP(handleTriageSelect);
PREP(menuPFH);
PREP(modifyAction);
PREP(modifyActionTriageLevel);
PREP(onKeyDown);
PREP(onMenuClose);
PREP(onMenuOpen);
PREP(openMenu);
PREP(toggleTriageSelect);
PREP(updateActions);
PREP(updateBodyImage);
PREP(updateCategories);
PREP(updateInjuryList);
PREP(updateLogList);
PREP(updateTriageCard);
PREP(updateTriageStatus);