Searched refs:color_map (Results 1 – 1 of 1) sorted by relevance
116 struct color_map { int attr; char color[12]; }; argument117 static struct color_map color_map[] = { variable1547 for (cx = 0; cx < sizeof(color_map)/sizeof(*color_map); cx++) in lookup_color_index()1548 if (color_map[cx].attr == attr) in lookup_color_index()1576 if (strlen(colorstr)+1 > sizeof(color_map[cx].color)) in set_color_map()1580 strcpy(color_map[cx].color, colorstr); in set_color_map()1592 return color_map[cx].color; in get_color_map()