summaryrefslogtreecommitdiff
path: root/colors.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-25 17:07:09 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-25 17:07:09 -0500
commita56f549a266e14cdc00a98e8dc3e154f5ac6c23e (patch)
treeb513d9bbf656fe1ac054e3201fe10ac94de461ef /colors.h
parentf6d49d377ac136fc29457b3b4501f0488b6412e3 (diff)
error box; generally better error handling
Diffstat (limited to 'colors.h')
-rw-r--r--colors.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/colors.h b/colors.h
index 96b26a4..047228c 100644
--- a/colors.h
+++ b/colors.h
@@ -12,6 +12,9 @@ ENUM_U16 {
COLOR_MENU_BACKDROP,
COLOR_MENU_BG,
COLOR_MENU_HL,
+ COLOR_ERROR_TEXT,
+ COLOR_ERROR_BG,
+ COLOR_ERROR_BORDER,
COLOR_COUNT
} ENUM_U16_END(ColorSetting);
@@ -33,7 +36,10 @@ static ColorName const color_names[COLOR_COUNT] = {
{COLOR_SELECTION_BG, "selection-bg"},
{COLOR_MENU_BACKDROP, "menu-backdrop"},
{COLOR_MENU_BG, "menu-bg"},
- {COLOR_MENU_HL, "menu-hl"}
+ {COLOR_MENU_HL, "menu-hl"},
+ {COLOR_ERROR_TEXT, "error-text"},
+ {COLOR_ERROR_BG, "error-bg"},
+ {COLOR_ERROR_BORDER, "error-border"}
};
static ColorSetting color_setting_from_str(char const *str) {