Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ColorIndex Class Reference

#include <Color.h>

List of all members.

Public Member Functions

 ColorIndex ()
 ColorIndex (const ColorIndex &c)
 ColorIndex (BYTE r, BYTE g, BYTE b)
 ColorIndex (BYTE i)
ColorIndexoperator= (const ColorIndex &c)
int operator== (const ColorIndex &c) const
int operator!= (const ColorIndex &c) const
BYTE Index () const
DWORD Red () const
DWORD Green () const
DWORD Blue () const
float fRed () const
float fGreen () const
float fBlue () const
DWORD TextureFormat () const
DWORD Unfaded () const
DWORD Formatted () const
DWORD Shaded (int shade) const
ColorIndex Faded () const
ColorIndex ShadeColor (int s) const
BYTE IndexedBlend (BYTE dst) const

Static Public Member Functions

static const char * TYPENAME ()
static DWORD * ShadeTable ()

Friends

class Color

Detailed Description

Definition at line 241 of file Color.h.


Constructor & Destructor Documentation

ColorIndex::ColorIndex ( )
inline

Definition at line 248 of file Color.h.

ColorIndex::ColorIndex ( const ColorIndex c)
inline

Definition at line 249 of file Color.h.

ColorIndex::ColorIndex ( BYTE  r,
BYTE  g,
BYTE  b 
)
inline

Definition at line 250 of file Color.h.

ColorIndex::ColorIndex ( BYTE  i)
inline

Definition at line 251 of file Color.h.


Member Function Documentation

DWORD ColorIndex::Blue ( ) const
inline

Definition at line 261 of file Color.h.

ColorIndex ColorIndex::Faded ( ) const
inline

Definition at line 271 of file Color.h.

float ColorIndex::fBlue ( ) const
inline

Definition at line 265 of file Color.h.

float ColorIndex::fGreen ( ) const
inline

Definition at line 264 of file Color.h.

DWORD ColorIndex::Formatted ( ) const
inline

Definition at line 269 of file Color.h.

float ColorIndex::fRed ( ) const
inline

Definition at line 263 of file Color.h.

DWORD ColorIndex::Green ( ) const
inline

Definition at line 260 of file Color.h.

BYTE ColorIndex::Index ( ) const
inline

Definition at line 257 of file Color.h.

BYTE ColorIndex::IndexedBlend ( BYTE  dst) const
inline

Definition at line 279 of file Color.h.

int ColorIndex::operator!= ( const ColorIndex c) const
inline

Definition at line 255 of file Color.h.

ColorIndex& ColorIndex::operator= ( const ColorIndex c)
inline

Definition at line 253 of file Color.h.

int ColorIndex::operator== ( const ColorIndex c) const
inline

Definition at line 254 of file Color.h.

DWORD ColorIndex::Red ( ) const
inline

Definition at line 259 of file Color.h.

ColorIndex ColorIndex::ShadeColor ( int  s) const
inline

Definition at line 274 of file Color.h.

DWORD ColorIndex::Shaded ( int  shade) const
inline

Definition at line 270 of file Color.h.

static DWORD* ColorIndex::ShadeTable ( )
inlinestatic

Definition at line 277 of file Color.h.

DWORD ColorIndex::TextureFormat ( ) const
inline

Definition at line 267 of file Color.h.

static const char* ColorIndex::TYPENAME ( )
inlinestatic

Definition at line 246 of file Color.h.

DWORD ColorIndex::Unfaded ( ) const
inline

Definition at line 268 of file Color.h.


Friends And Related Function Documentation

friend class Color
friend

Definition at line 243 of file Color.h.


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