ACE3/addons/medical_gui
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
..
data Medical GUI - Add outline to selected body part in Medical Menu (#9471) 2023-10-11 05:25:28 -04:00
functions Medical GUI - Show number of available treatment items in medical menu (#9474) 2023-10-12 22:39:23 -04:00
ui Medical Treatment - Fix grave digging (#9455) 2023-10-02 11:05:56 -04:00
$PBOPREFIX$ Renamed menu to gui, moved more gui stuff into it 2017-04-01 20:45:05 +02:00
addon.toml Optionals - Add No Medical and No Realistic Names components (#8187) 2023-09-03 21:56:54 -04:00
CfgEventHandlers.hpp Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
CfgUIGrids.hpp HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
CfgVehicles.hpp Common/Medical - Change vehicle checks to objectParent (#9281) 2023-07-22 09:11:58 +03:00
config.cpp Optionals - Add No Medical and No Realistic Names components (#8187) 2023-09-03 21:56:54 -04:00
gui.hpp Medical GUI - Add keybinds to navigate the Medical Menu (#9477) 2023-10-12 12:50:48 -04:00
initSettings.sqf Medical GUI - Change default body color to improve contrast (#9476) 2023-10-11 07:40:13 -04:00
InteractionBodyParts.hpp Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
README.md Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
script_component.hpp Medical GUI - Add outline to selected body part in Medical Menu (#9471) 2023-10-11 05:25:28 -04:00
stringtable.xml Medical GUI - Show number of available treatment items in medical menu (#9474) 2023-10-12 22:39:23 -04:00
XEH_postInit.sqf Medical GUI - Peek Medical Info on Hit (#9467) 2023-10-09 14:57:47 -03:00
XEH_preInit.sqf Rewrite Medical GUI (#6831) 2019-03-24 18:17:48 -04:00
XEH_PREP.hpp Medical GUI - Show number of available treatment items in medical menu (#9474) 2023-10-12 22:39:23 -04:00
XEH_preStart.sqf Renamed menu to gui, moved more gui stuff into it 2017-04-01 20:45:05 +02:00

ace_medical_gui

Implements the interaction menu actions, medical menu, information display, and triage card.