This commit is contained in:
royjr
2025-12-31 14:10:30 -05:00
parent 8d27d1fff7
commit 0e7f1cce4c
4 changed files with 8 additions and 1 deletions
+1
View File
@@ -152,6 +152,7 @@ inline static std::unordered_map<std::string, ParamKeyAttributes> keys = {
{"DevUIInfo", {PERSISTENT | BACKUP, INT, "0"}},
{"EnableCopyparty", {PERSISTENT | BACKUP, BOOL}},
{"EnableGithubRunner", {PERSISTENT | BACKUP, BOOL}},
{"FlatUIState", {PERSISTENT | BACKUP, BOOL, "0"}},
{"GreenLightAlert", {PERSISTENT | BACKUP, BOOL, "0"}},
{"GithubRunnerSufficientVoltage", {CLEAR_ON_MANAGER_START , BOOL}},
{"HideVEgoUI", {PERSISTENT | BACKUP, BOOL, "0"}},
+2 -1
View File
@@ -81,7 +81,8 @@ class ConfidenceBall(Widget, ConfidenceBallSP):
top_dot_color = rl.Color(50, 50, 50, 255)
bottom_dot_color = rl.Color(13, 13, 13, 255)
top_dot_color = bottom_dot_color
if ui_state.flat_ui_state:
top_dot_color = bottom_dot_color
draw_circle_gradient(content_rect.x + content_rect.width - status_dot_radius,
dot_height, status_dot_radius,
+1
View File
@@ -73,6 +73,7 @@ class UIStateSP:
self.developer_ui = self.params.get("DevUIInfo")
self.rainbow_path = self.params.get_bool("RainbowMode")
self.chevron_metrics = self.params.get("ChevronInfo")
self.flat_ui_state = self.params.get("FlatUIState")
class DeviceSP:
@@ -289,6 +289,10 @@
"title": "Firmware Query Done",
"description": ""
},
"FlatUIState": {
"title": "Flat UI State",
"description": ""
},
"ForcePowerDown": {
"title": "Force Power Down",
"description": ""