Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

ColorPalette Class Reference

a color palette More...

#include <ColorPalette.h>

List of all members.

Public Member Functions

unsigned int getSize (void) const
void addEntry (RGBTriple rgb)
void addEntry (BYTE r, BYTE g, BYTE b)


Detailed Description

This class is essentially a vector<RGBTriple> with some wrappers for exisiting methods.


Member Function Documentation

void ColorPalette::addEntry BYTE  r,
BYTE  g,
BYTE  b
[inline]
 

add the color r/g/b to the end of this color palette

void ColorPalette::addEntry RGBTriple  rgb  )  [inline]
 

add (a copy of) rgb to the end of this color palette

unsigned int ColorPalette::getSize void   )  const [inline]
 

get the size, i.e. the number of entries of this color palette


The documentation for this class was generated from the following file:
Generated on Thu Nov 13 23:44:23 2003 for steghide by doxygen 1.3.3