30 #ifndef __CLAW_GRAPHIC_COLOR_PALETTE_HPP__ 31 #define __CLAW_GRAPHIC_COLOR_PALETTE_HPP__ 43 template <
typename Color>
53 unsigned int size()
const;
56 const color_type& operator[](
unsigned int i)
const;
58 const color_type& operator()(
unsigned int i)
const;
62 std::vector<color_type> m_palette;
68 #include <claw/graphic/color_palette.tpp> 70 #endif // __CLAW_GRAPHIC_COLOR_PALETTE_HPP__ Color color_type
The type of the colors stored in the palette.
A palette of colors, for palettized images.
This is the main namespace.