diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-25 17:07:09 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-25 17:07:09 -0500 |
commit | a56f549a266e14cdc00a98e8dc3e154f5ac6c23e (patch) | |
tree | b513d9bbf656fe1ac054e3201fe10ac94de461ef /colors.h | |
parent | f6d49d377ac136fc29457b3b4501f0488b6412e3 (diff) |
error box; generally better error handling
Diffstat (limited to 'colors.h')
-rw-r--r-- | colors.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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) { |