Symbol: IndexForColor
headers/os/interface/Screen.h
108
return IndexForColor(color.red, color.green, color.blue, color.alpha);
headers/os/interface/Screen.h
39
uint8 IndexForColor(rgb_color color);
headers/os/interface/Screen.h
40
uint8 IndexForColor(uint8 red, uint8 green,
headers/private/interface/PrivateScreen.h
49
uint8 IndexForColor(uint8 red, uint8 green,
src/add-ons/translators/gif/GIFSave.cpp
588
cc->index = palette->IndexForColor(r, g, b);
src/add-ons/translators/gif/GIFSave.cpp
631
int index = palette->IndexForColor(r, g, b, useAlphaForTransparency
src/add-ons/translators/gif/SavePalette.cpp
498
fTransparentIndex = IndexForColor(red, green, blue);
src/add-ons/translators/gif/SavePalette.h
51
uint8 IndexForColor(uint8 red, uint8 green,
src/add-ons/translators/gif/SavePalette.h
53
inline uint8 IndexForColor(const rgb_color& color);
src/add-ons/translators/gif/SavePalette.h
87
return IndexForColor(color.red, color.green, color.blue, color.alpha);
src/apps/showimage/Filter.cpp
834
index = screen.IndexForColor(color);
src/apps/showimage/Filter.cpp
885
index = screen.IndexForColor(color);
src/apps/soundrecorder/DrawingTidbits.cpp
56
uint32 fromIndex = screen.IndexForColor(from);
src/apps/soundrecorder/DrawingTidbits.cpp
57
uint32 toIndex = screen.IndexForColor(to);
src/apps/soundrecorder/DrawingTidbits.cpp
73
uint8 withIndex = screen.IndexForColor(with);
src/kits/interface/ColorControl.cpp
294
fSelectedPaletteColorIndex = BScreen(Window()).IndexForColor(c2);
src/kits/interface/Screen.cpp
113
return fScreen->IndexForColor(red, green, blue, alpha);
src/kits/tracker/IconCache.cpp
1327
fHighlightTable[index] = screen.IndexForColor(tint_color(color, 1.3f));
src/tests/kits/game/chart/ChartWindow.cpp
1571
fBackColorIndex = screen.IndexForColor(new_set.back_color);
src/tests/kits/game/chart/ChartWindow.cpp
2089
color = screen.IndexForColor(ref_color);
src/tests/kits/game/chart/ChartWindow.cpp
2092
color = screen.IndexForColor(fCurrentSettings.back_color);