| 164 | } |
| 165 | |
| 166 | static void init_one_color(struct dialog_color *color) |
| 167 | { |
| 168 | static int pair = 0; |
| 169 | |
| 170 | pair++; |
| 171 | init_pair(pair, color->fg, color->bg); |
| 172 | if (color->hl) |
| 173 | color->atr = A_BOLD | COLOR_PAIR(pair); |
| 174 | else |
| 175 | color->atr = COLOR_PAIR(pair); |
| 176 | } |
| 177 | |
| 178 | static void init_dialog_colors(void) |
| 179 | { |
no outgoing calls
no test coverage detected