Full sized map

Added toggle to expand the map across the entire onroad UI screen.
This commit is contained in:
FrogAi
2024-02-27 16:34:47 -07:00
parent caba8a53b4
commit 0c6cb60677
7 changed files with 17 additions and 6 deletions

View File

@@ -40,6 +40,7 @@ FrogPilotVisualsPanel::FrogPilotVisualsPanel(SettingsWindow *parent) : FrogPilot
{"QOLVisuals", "Quality of Life", "Miscellaneous quality of life changes to improve your overall openpilot experience.", "../frogpilot/assets/toggle_icons/quality_of_life.png"},
{"DriveStats", "Drive Stats In Home Screen", "Display your device's drive stats in the home screen.", ""},
{"FullMap", "Full Sized Map", "Maximize the size of the map in the onroad UI.", ""},
};
for (const auto &[param, title, desc, icon] : visualToggles) {

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"};
std::set<QString> qolKeys = {"DriveStats", "FullMap"};
std::map<std::string, ParamControl*> toggles;