|
CLAW Library (a C++ Library Absolutely Wonderful) 1.5.5
|
The type of the input buffer associated with the file when decoding RLE files using a color palette. More...
Public Member Functions | |
| mapped_file_input_buffer (std::istream &f, const color_palette32 &p) | |
| Constructor. | |
| rgba_pixel_8 | get_pixel () |
| template<> | |
| rgba_pixel_8 | get_pixel () |
Private Types | |
| typedef Pixel | pixel_type |
| The type of the pixels in the input buffer. | |
Private Attributes | |
| const color_palette32 & | m_palette |
| The color map of the image. | |
The type of the input buffer associated with the file when decoding RLE files using a color palette.
Template parameters
typedef Pixel claw::graphic::targa::reader::mapped_file_input_buffer< Pixel >::pixel_type [private] |
| claw::graphic::targa::reader::mapped_file_input_buffer< Pixel >::mapped_file_input_buffer | ( | std::istream & | f, |
| const color_palette32 & | p | ||
| ) |
Constructor.
| f | The file to read. |
| p | The color palette. |
Definition at line 64 of file targa_reader.tpp.
: buffered_istream<std::istream>(f), m_palette(p) { } // targa::reader::mapped_file_input_buffer::mapped_file_input_buffer
| rgba_pixel_8 claw::graphic::targa::reader::mapped_file_input_buffer< Pixel >::get_pixel | ( | ) |
| rgba_pixel_8 claw::graphic::targa::reader::mapped_file_input_buffer< targa::pixel8 >::get_pixel | ( | ) |
Definition at line 165 of file targa_reader.cpp.
const color_palette32& claw::graphic::targa::reader::mapped_file_input_buffer< Pixel >::m_palette [private] |
1.7.3