config.def.h: style improvement, use color Scheme enum
56a31dc4
1 file(s) · +4 −4
| 12 | 12 | static const char col_gray3[] = "#bbbbbb"; |
|
| 13 | 13 | static const char col_gray4[] = "#eeeeee"; |
|
| 14 | 14 | static const char col_cyan[] = "#005577"; |
|
| 15 | - | static const char *colors[][3] = { |
|
| 16 | - | /* fg bg border */ |
|
| 17 | - | { col_gray3, col_gray1, col_gray2}, /* normal */ |
|
| 18 | - | { col_gray4, col_cyan, col_cyan }, /* selected */ |
|
| 15 | + | static const char *colors[SchemeLast][3] = { |
|
| 16 | + | /* fg bg border */ |
|
| 17 | + | [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, |
|
| 18 | + | [SchemeSel] = { col_gray4, col_cyan, col_cyan }, |
|
| 19 | 19 | }; |
|
| 20 | 20 | ||
| 21 | 21 | /* tagging */ |