Hide current speed in onroad UI

Added toggle to hide the current speed from the onroad UI and an additional function to enable/disable it by clicking on it via the onroad UI.
This commit is contained in:
FrogAi
2024-02-27 16:34:47 -07:00
parent f2cd6e256a
commit 7437d97c2e
6 changed files with 25 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ private:
std::set<QString> customOnroadUIKeys = {"AccelerationPath", "AdjacentPath", "BlindSpotPath", "FPSCounter", "LeadInfo"};
std::set<QString> customThemeKeys = {"CustomColors", "CustomIcons", "CustomSignals", "CustomSounds"};
std::set<QString> modelUIKeys = {"DynamicPathWidth", "LaneLinesWidth", "PathEdgeWidth", "PathWidth", "RoadEdgesWidth", "UnlimitedLength"};
std::set<QString> qolKeys = {"DriveStats", "FullMap"};
std::set<QString> qolKeys = {"DriveStats", "FullMap", "HideSpeed"};
std::map<std::string, ParamControl*> toggles;