mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-22 08:43:54 +08:00
FrogPilot branding
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user