Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Spinner color (#81)
Browse files Browse the repository at this point in the history
* move to end

* update color

* update color

* add compiled
  • Loading branch information
sshane authored Mar 18, 2020
1 parent b69863a commit 48d8586
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions selfdrive/common/spinner.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ int spin(int argc, char** argv) {
paint = nvgBoxGradient(
vg, progress_x, progress_y,
bar_pos+1.5f, progress_height-1, 3, 4,
nvgRGB(245, 245, 245), nvgRGB(105, 105, 105));
nvgRGB(75, 0, 173), nvgRGB(26, 20, 105));

nvgBeginPath(vg);
nvgRoundedRect(
Expand All @@ -181,7 +181,7 @@ int spin(int argc, char** argv) {
// message
nvgTextAlign(vg, NVG_ALIGN_CENTER | NVG_ALIGN_TOP);
if (has_extra) {
nvgFontSize(vg, 86.0f);
nvgFontSize(vg, 78.0f);
nvgText(vg, fb_w/2, (fb_h*2/3)+24+96, spinstatus, NULL);
} else {
nvgFontSize(vg, 96.0f);
Expand Down
2 changes: 1 addition & 1 deletion selfdrive/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ def unblock_stdout():
"ubloxd": ("selfdrive/locationd", ["./ubloxd"]),
"loggerd": ("selfdrive/loggerd", ["./loggerd"]),
"logmessaged": "selfdrive.logmessaged",
"locationd": "selfdrive.locationd.locationd",
"tombstoned": "selfdrive.tombstoned",
"logcatd": ("selfdrive/logcatd", ["./logcatd"]),
"proclogd": ("selfdrive/proclogd", ["./proclogd"]),
Expand All @@ -168,6 +167,7 @@ def unblock_stdout():
"updated": "selfdrive.updated",
"dmonitoringmodeld": ("selfdrive/modeld", ["./dmonitoringmodeld"]),
"modeld": ("selfdrive/modeld", ["./modeld"]),
"locationd": "selfdrive.locationd.locationd",
}

daemon_processes = {
Expand Down
Binary file modified selfdrive/ui/spinner/spinner
Binary file not shown.

0 comments on commit 48d8586

Please sign in to comment.