Lines Matching refs:fore
219 _cursesi_screen->colour_pairs[0].fore = -1; in start_color()
225 _cursesi_screen->colour_pairs[i].fore = COLOR_WHITE; in start_color()
231 _cursesi_screen->colour_pairs[PAIR_NUMBER(__default_color)].fore = in start_color()
232 __default_pair.fore; in start_color()
267 init_pair(short pair, short fore, short back) in init_pair() argument
272 __CTRACE(__CTRACE_COLOR, "init_pair: %d, %d, %d\n", pair, fore, back); in init_pair()
281 if (fore >= COLORS) in init_pair()
288 switch (fore) { in init_pair()
290 fore = COLOR_BLUE; in init_pair()
293 fore = COLOR_RED; in init_pair()
296 fore = COLOR_CYAN; in init_pair()
299 fore = COLOR_YELLOW; in init_pair()
319 (fore != _cursesi_screen->colour_pairs[pair].fore || in init_pair()
326 _cursesi_screen->colour_pairs[pair].fore = fore; in init_pair()
346 *forep = _cursesi_screen->colour_pairs[pair].fore; in pair_content()
440 assume_default_colors(short fore, short back) in assume_default_colors() argument
444 fore, back); in assume_default_colors()
450 switch (fore) { in assume_default_colors()
452 fore = COLOR_BLUE; in assume_default_colors()
455 fore = COLOR_RED; in assume_default_colors()
458 fore = COLOR_CYAN; in assume_default_colors()
461 fore = COLOR_YELLOW; in assume_default_colors()
479 __default_pair.fore = fore; in assume_default_colors()
484 _cursesi_screen->colour_pairs[PAIR_NUMBER(__default_color)].fore = fore; in assume_default_colors()
529 _cursesi_screen->colour_pairs[pair].fore, in __set_color()
535 if (_cursesi_screen->colour_pairs[pair].fore < 0 || in __set_color()
538 if (_cursesi_screen->colour_pairs[pair].fore >= 0) in __set_color()
540 (int)_cursesi_screen->colour_pairs[pair].fore), in __set_color()
554 if (_cursesi_screen->colour_pairs[pair].fore < 0 || in __set_color()
557 if (_cursesi_screen->colour_pairs[pair].fore >= 0) in __set_color()
559 (int)_cursesi_screen->colour_pairs[pair].fore), in __set_color()