Searched refs:IndexForColor (Results 1 - 12 of 12) sorted by relevance

/haiku/src/add-ons/translators/gif/
H A DSavePalette.h51 uint8 IndexForColor(uint8 red, uint8 green,
53 inline uint8 IndexForColor(const rgb_color& color);
85 SavePalette::IndexForColor(const rgb_color& color) function in class:SavePalette
87 return IndexForColor(color.red, color.green, color.blue, color.alpha);
H A DGIFSave.cpp588 cc->index = palette->IndexForColor(r, g, b);
631 int index = palette->IndexForColor(r, g, b, useAlphaForTransparency
H A DSavePalette.cpp391 SavePalette::IndexForColor(uint8 red, uint8 green, uint8 blue, uint8 alpha) function in class:SavePalette
498 fTransparentIndex = IndexForColor(red, green, blue);
/haiku/src/apps/soundrecorder/
H A DDrawingTidbits.cpp56 uint32 fromIndex = screen.IndexForColor(from);
57 uint32 toIndex = screen.IndexForColor(to);
73 uint8 withIndex = screen.IndexForColor(with);
/haiku/headers/os/interface/
H A DScreen.h39 uint8 IndexForColor(rgb_color color);
40 uint8 IndexForColor(uint8 red, uint8 green,
106 BScreen::IndexForColor(rgb_color color) function in class:BScreen
108 return IndexForColor(color.red, color.green, color.blue, color.alpha);
/haiku/headers/private/interface/
H A DPrivateScreen.h49 uint8 IndexForColor(uint8 red, uint8 green,
/haiku/src/kits/interface/
H A DScreen.cpp110 BScreen::IndexForColor(uint8 red, uint8 green, uint8 blue, uint8 alpha) function in class:BScreen
113 return fScreen->IndexForColor(red, green, blue, alpha);
H A DPrivateScreen.cpp288 BPrivateScreen::IndexForColor(uint8 red, uint8 green, uint8 blue, uint8 alpha) function in class:BPrivateScreen
H A DColorControl.cpp290 fSelectedPaletteColorIndex = BScreen(Window()).IndexForColor(c2);
/haiku/src/apps/showimage/
H A DFilter.cpp834 index = screen.IndexForColor(color);
885 index = screen.IndexForColor(color);
/haiku/src/tests/kits/game/chart/
H A DChartWindow.cpp1571 fBackColorIndex = screen.IndexForColor(new_set.back_color);
2089 color = screen.IndexForColor(ref_color);
2092 color = screen.IndexForColor(fCurrentSettings.back_color);
/haiku/src/kits/tracker/
H A DIconCache.cpp1303 fHighlightTable[index] = screen.IndexForColor(tint_color(color, 1.3f));

Completed in 108 milliseconds