libmspub::ColorReference Class Reference

#include <ColorReference.h>

List of all members.

Public Member Functions

 ColorReference (unsigned color)
 ColorReference (unsigned baseColor, unsigned modifiedColor)
Color getFinalColor (const std::vector< Color > &palette) const

Private Member Functions

Color getRealColor (unsigned c, const std::vector< Color > &palette) const

Private Attributes

unsigned m_baseColor
unsigned m_modifiedColor

Static Private Attributes

static const unsigned char CHANGE_INTENSITY = 0x10
static const unsigned char BLACK_BASE = 0x1
static const unsigned char WHITE_BASE = 0x2

Friends

bool operator== (const libmspub::ColorReference &, const libmspub::ColorReference &)

Constructor & Destructor Documentation

libmspub::ColorReference::ColorReference ( unsigned  color) [inline, explicit]
libmspub::ColorReference::ColorReference ( unsigned  baseColor,
unsigned  modifiedColor 
) [inline]

Member Function Documentation

libmspub::Color libmspub::ColorReference::getRealColor ( unsigned  c,
const std::vector< Color > &  palette 
) const [private]

Friends And Related Function Documentation

bool operator== ( const libmspub::ColorReference l,
const libmspub::ColorReference r 
) [friend]

Member Data Documentation

const unsigned char libmspub::ColorReference::BLACK_BASE = 0x1 [static, private]
const unsigned char libmspub::ColorReference::CHANGE_INTENSITY = 0x10 [static, private]
const unsigned char libmspub::ColorReference::WHITE_BASE = 0x2 [static, private]

The documentation for this class was generated from the following files: