diff --git a/selfdrive/ui/sidebar.cc b/selfdrive/ui/sidebar.cc index 150841008e..805e1520cd 100644 --- a/selfdrive/ui/sidebar.cc +++ b/selfdrive/ui/sidebar.cc @@ -7,11 +7,7 @@ #include "sidebar.hpp" static void draw_background(UIState *s) { -#ifndef QT_GUI_LIB - const NVGcolor color = COLOR_BLACK_ALPHA(85); -#else const NVGcolor color = nvgRGBA(0x39, 0x39, 0x39, 0xff); -#endif ui_fill_rect(s->vg, {0, 0, sbr_w, s->fb_h}, color); } diff --git a/selfdrive/ui/ui.hpp b/selfdrive/ui/ui.hpp index b32116e006..e5e8790b1a 100644 --- a/selfdrive/ui/ui.hpp +++ b/selfdrive/ui/ui.hpp @@ -74,11 +74,7 @@ typedef enum UIStatus { } UIStatus; static std::map bg_colors = { -#ifndef QT_GUI_LIB - {STATUS_OFFROAD, nvgRGBA(0x07, 0x23, 0x39, 0xf1)}, -#else {STATUS_OFFROAD, nvgRGBA(0x0, 0x0, 0x0, 0xff)}, -#endif {STATUS_DISENGAGED, nvgRGBA(0x17, 0x33, 0x49, 0xc8)}, {STATUS_ENGAGED, nvgRGBA(0x17, 0x86, 0x44, 0xf1)}, {STATUS_WARNING, nvgRGBA(0xDA, 0x6F, 0x25, 0xf1)},