Lines Matching defs:palette

11  *	and a palette <-> true color conversion class.
93 palette.
94 \param palette The palette being a 256 entry rgb_color array.
96 PaletteConverter::PaletteConverter(const rgb_color *palette)
101 SetTo(palette);
126 /*! \brief Initializes the converter to the supplied palette.
127 \param palette The palette being a 256 entry rgb_color array.
131 PaletteConverter::SetTo(const rgb_color *palette)
135 status_t error = (palette ? B_OK : B_BAD_VALUE);
146 memcpy((void*)fOwnColorMap->color_list, palette, sizeof(rgb_color) * 256);
210 /*! \brief Returns the palette color index closest to a given RGB 15 color.
215 \return The palette color index for the supplied color.
225 /*! \brief Returns the palette color index closest to a given RGB 15 color.
232 \return The palette color index for the supplied color.
243 /*! \brief Returns the palette color index closest to a given RGB 16 color.
248 \return The palette color index for the supplied color.
258 /*! \brief Returns the palette color index closest to a given RGB 16 color.
265 \return The palette color index for the supplied color.
276 /*! \brief Returns the palette color index closest to a given RGB 32 color.
281 \return The palette color index for the supplied color.
293 /*! \brief Returns the palette color index closest to a given RGB 24 color.
300 \return The palette color index for the supplied color.
312 /*! \brief Returns the palette color index closest to a given RGBA 32 color.
317 \return The palette color index for the supplied color.
329 /*! \brief Returns the palette color index closest to a given Gray 8 color.
334 \return The palette color index for the supplied color.
344 /*! \brief Returns the RGB color for a given palette color index.
348 \param index The palette color index.
349 \return The color for the supplied palette color index.
359 /*! \brief Returns the RGB 15 color for a given palette color index.
363 \param index The palette color index.
364 \return The color for the supplied palette color index
378 /*! \brief Returns the RGB 16 color for a given palette color index.
382 \param index The palette color index.
383 \return The color for the supplied palette color index
397 /*! \brief Returns the RGBA 32 color for a given palette color index.
401 \param index The palette color index.
402 \return The color for the supplied palette color index
415 /*! \brief Returns the RGBA 32 color for a given palette color index.
419 \param index The palette color index.
442 /*! \brief Returns the Gray 8 color for a given palette color index.
446 \param index The palette color index.
447 \return The color for the supplied palette color index.
462 /*! \brief Initialize the global instance of PaletteConverter using the system color palette.