FrogPilot branding

This commit is contained in:
James
2025-12-01 12:00:00 -07:00
parent 1b590b15d6
commit e49978beff
10 changed files with 45 additions and 5 deletions
+2 -1
View File
@@ -28,6 +28,7 @@ LINE_HEIGHT = 104
DARKGRAY = (55, 55, 55, 255)
# FrogPilot variables
GREEN = (23, 134, 68, 242)
def clamp(value, min_value, max_value):
@@ -82,7 +83,7 @@ class Spinner(Widget):
rl.draw_rectangle_rounded(bar, 1, 10, DARKGRAY)
bar.width *= self._progress / 100.0
rl.draw_rectangle_rounded(bar, 1, 10, rl.WHITE)
rl.draw_rectangle_rounded(bar, 1, 10, GREEN)
elif self._wrapped_lines:
for i, line in enumerate(self._wrapped_lines):
text_size = measure_text_cached(gui_app.font(), line, FONT_SIZE)