Xform_palette Class Reference

#include <imagebuf.h>

Collaboration diagram for Xform_palette:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void set_color (int cr, int cg, int cb, int ca)
unsigned char operator[] (int i) const

Public Attributes

unsigned char colors [256]
unsigned char r
unsigned char g
unsigned char b
unsigned char a

Detailed Description

Definition at line 37 of file imagebuf.h.


Member Function Documentation

void Xform_palette::set_color ( int  cr,
int  cg,
int  cb,
int  ca 
) [inline]

Definition at line 42 of file imagebuf.h.

References a, b, g, and r.

unsigned char Xform_palette::operator[] ( int  i  )  const [inline]

Definition at line 44 of file imagebuf.h.

References colors.


Member Data Documentation

unsigned char Xform_palette::colors[256]

Definition at line 40 of file imagebuf.h.

Referenced by operator[]().

unsigned char Xform_palette::r

Definition at line 41 of file imagebuf.h.

Referenced by Image_buffer8::rgba(), and set_color().

unsigned char Xform_palette::g

Definition at line 41 of file imagebuf.h.

Referenced by set_color().

unsigned char Xform_palette::b

Definition at line 41 of file imagebuf.h.

Referenced by set_color().

unsigned char Xform_palette::a

Definition at line 41 of file imagebuf.h.

Referenced by set_color().


The documentation for this class was generated from the following file:
Generated on Mon Jul 9 15:06:11 2007 for ExultEngine by  doxygen 1.5.1