always qt

albatross
Adeeb Shihadeh 2021-03-26 01:03:42 -07:00
parent c253554b35
commit f811dcc0cb
2 changed files with 0 additions and 8 deletions

View File

@ -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);
}

View File

@ -74,11 +74,7 @@ typedef enum UIStatus {
} UIStatus;
static std::map<UIStatus, NVGcolor> 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)},