ui.h: const bg_colors (#21169)

This commit is contained in:
Dean Lee
2021-06-07 15:04:16 +08:00
committed by GitHub
parent 4488df8d1f
commit 514111ca85

View File

@@ -60,7 +60,7 @@ typedef enum UIStatus {
STATUS_ALERT,
} UIStatus;
static QColor bg_colors [] = {
const QColor bg_colors [] = {
[STATUS_DISENGAGED] = QColor(0x17, 0x33, 0x49, 0xc8),
[STATUS_ENGAGED] = QColor(0x17, 0x86, 0x44, 0xf1),
[STATUS_WARNING] = QColor(0xDA, 0x6F, 0x25, 0xf1),