Searched refs:fColorMap (Results 1 – 6 of 6) sorted by relevance
299 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 …]
85 : 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 …]
55 fColorMap = SystemPalette(); in Draw()88 const rgb_color* fColorMap; member100 const rgb_color c = fColorMap[*s++]; in BlendRow()114 const rgb_color c = fColorMap[*s++]; in BlendRow()
349 const color_map *fColorMap; member in BPrivate::PaletteConverter363 : 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 …]
62 const color_map *fColorMap;
110 color_map* fColorMap; variable