IndexForColor
return IndexForColor(color.red, color.green, color.blue, color.alpha);
uint8 IndexForColor(rgb_color color);
uint8 IndexForColor(uint8 red, uint8 green,
uint8 IndexForColor(uint8 red, uint8 green,
cc->index = palette->IndexForColor(r, g, b);
int index = palette->IndexForColor(r, g, b, useAlphaForTransparency
fTransparentIndex = IndexForColor(red, green, blue);
uint8 IndexForColor(uint8 red, uint8 green,
inline uint8 IndexForColor(const rgb_color& color);
return IndexForColor(color.red, color.green, color.blue, color.alpha);
index = screen.IndexForColor(color);
index = screen.IndexForColor(color);
uint32 fromIndex = screen.IndexForColor(from);
uint32 toIndex = screen.IndexForColor(to);
uint8 withIndex = screen.IndexForColor(with);
fSelectedPaletteColorIndex = BScreen(Window()).IndexForColor(c2);
return fScreen->IndexForColor(red, green, blue, alpha);
fHighlightTable[index] = screen.IndexForColor(tint_color(color, 1.3f));
fBackColorIndex = screen.IndexForColor(new_set.back_color);
color = screen.IndexForColor(ref_color);
color = screen.IndexForColor(fCurrentSettings.back_color);