Common - Configs cleanup and UI improvements
When merged this pull request will:
- Allow progress bar to be fully repositioned with the ingame layout tool (remove old setting for just top or bottom)
- Preview:

- Preview:
- Added setting to make progress bar change color based on completion
- Produces a decent effect (Red -> Orange -> Yellow -> Green)
- Update/cleanup
displayTextStructuredwith macros and remove unnecessary code - Cleanup configs, mainly UI ones (move away from old
define.hppbase classes and use built in Arma ones) - Use common grid/color macros and rename files (not sure what happened with
git mv😞) - Add stringtable entries for
CfgUIGridsentries - Depreciate
addMapMarkerCreatedEventHandlerandremoveMapMarkerCreatedEventHandlerin favor ofCBA_fnc_addMarkerEventHandlerandCBA_fnc_removeMarkerEventHandler
The ACE progress bar should be replaced with CBA_fnc_progressBar. The ACE function should remain and add the canInteractWith condition in form of a wrapper. The CBA progress bar already can be moved and resized by this menu.
https://github.com/CBATeam/CBA_A3/blob/master/addons/ui/fnc_progressBar.sqf
Not sure what the best method for wrapping the condition would be. Can't just put the local variable in a code block and compile + format seems like a bad solution.
Store condition as code in fnc_progressBar arguments and just call it? Make it the last parameter in arguments to not throw the user off if he has his own arguments.
Why don't we just use the cba UI elements, but keep our function.
Closing due to age and/or inactivity, unlikely to be finished or has to be reworked due to other changes over the years. May be re-opened if someone finds it useful, even better just open a new up-to-date PR.
@LinkIsGrim