Value range visual change support #8655
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm hoping this is fairly self explanatory. As always major WIP but it should all be working. Certainly more ui tweaking needed to make it easier to use, but functionality behind the scenes is all hooked up.
Change the icon or text color based on value:
Change the icon based on value:
Changed the opacity of the icon based on value:
The direction I'm heading is to also re-do the toolbar to make it more of a useful piece of real estate. Currently it takes up a lot of space for not a lot of value. The direction is to make it configurable just like the instrument value page (using this same code) such that you can specify what values you want to see there all the time. And then the instrument value page becomes secondary. For example you don't want to miss your vehicle plummeting to the ground because you are farting around with the camera settings page in the instrument panel which in turn hides the instrument values. So critical instrument values in the toolbar, secondary in the instrument panel. End users have full control over tweaking. Custom builds have full control over creating there own default setups.