ui.h: const bg_colors (#21169)

old-commit-hash: 514111ca85daeda3d12feebac3f40cbdfa50fd81
This commit is contained in:
Dean Lee
2021-06-07 15:04:16 +08:00
committed by GitHub
parent 2e70df44ef
commit 10029fb0b9
+1 -1
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),