Home
last modified time | relevance | path

Searched refs:fColorMap (Results 1 – 6 of 6) sorted by relevance

/haiku/src/kits/interface/
H A DPrivateScreen.cpp299 return fColorMap->index_map[index]; in IndexForColor()
309 return fColorMap->color_list[index]; in ColorForIndex()
319 return fColorMap->inversion_map[index]; in InvertIndex()
328 if (fColorMap == NULL) { in ColorMap()
332 if (fColorMap != NULL) { in ColorMap()
334 return fColorMap; in ColorMap()
346 fColorMap = (color_map*)malloc(sizeof(color_map)); in ColorMap()
348 link.Read<color_map>(fColorMap); in ColorMap()
352 return fColorMap; in ColorMap()
795 fColorMap(NULL), in BPrivateScreen()
[all …]
H A DColorConversion.cpp85 : fColorMap(NULL), in PaletteConverter()
97 : fColorMap(NULL), in PaletteConverter()
110 : fColorMap(NULL), in PaletteConverter()
144 fColorMap = fOwnColorMap; in SetTo()
192 fColorMap = colorMap; in SetTo()
193 fCStatus = (fColorMap ? B_OK : B_BAD_VALUE); in SetTo()
221 return fColorMap->index_map[rgb]; in IndexForRGB15()
239 return fColorMap->index_map[(red << 10) | (green << 5) | blue]; in IndexForRGB15()
254 return fColorMap->index_map[((rgb >> 1) & 0x7fe0) | (rgb & 0x1f)]; in IndexForRGB16()
272 return fColorMap->index_map[(red << 10) | ((green & 0x3e) << 4) | blue]; in IndexForRGB16()
[all …]
/haiku/src/servers/app/drawing/Painter/bitmap_painter/
H A DDrawBitmapNoScale.h55 fColorMap = SystemPalette(); in Draw()
88 const rgb_color* fColorMap; member
100 const rgb_color c = fColorMap[*s++]; in BlendRow()
114 const rgb_color c = fColorMap[*s++]; in BlendRow()
/haiku/src/build/libbe/interface/
H A DBitmap.cpp349 const color_map *fColorMap; member in BPrivate::PaletteConverter
363 : fColorMap(NULL), in PaletteConverter()
375 : fColorMap(NULL), in PaletteConverter()
388 : fColorMap(NULL), in PaletteConverter()
422 fColorMap = fOwnColorMap; in SetTo()
468 fColorMap = colorMap; in SetTo()
469 fCStatus = fColorMap ? B_OK : B_BAD_VALUE; in SetTo()
496 return fColorMap->index_map[rgb]; in IndexForRGB15()
513 return fColorMap->index_map[(red << 10) | (green << 5) | blue]; in IndexForRGB15()
527 return fColorMap->index_map[((rgb >> 1) & 0x7fe0) | (rgb & 0x1f)]; in IndexForRGB16()
[all …]
/haiku/headers/private/interface/
H A DColorConversion.h62 const color_map *fColorMap;
H A DPrivateScreen.h110 color_map* fColorMap; variable