MMSFBColor Class Reference

describes a color with alpha More...

#include <mmstypes.h>

List of all members.


Public Member Functions

 MMSFBColor ()
 MMSFBColor (unsigned char r, unsigned char g, unsigned char b, unsigned char a)
 MMSFBColor (unsigned int argb)
unsigned int getARGB ()
bool operator== (const MMSFBColor &c)
bool operator!= (const MMSFBColor &c)

Public Attributes

unsigned char r
 red
unsigned char g
 green
unsigned char b
 blue
unsigned char a
 alphachannel

Detailed Description

describes a color with alpha

Definition at line 499 of file mmstypes.h.


Constructor & Destructor Documentation

MMSFBColor::MMSFBColor (  )  [inline]

Definition at line 510 of file mmstypes.h.

MMSFBColor::MMSFBColor ( unsigned char  r,
unsigned char  g,
unsigned char  b,
unsigned char  a 
) [inline]

Definition at line 517 of file mmstypes.h.

MMSFBColor::MMSFBColor ( unsigned int  argb  )  [inline]

Definition at line 524 of file mmstypes.h.


Member Function Documentation

unsigned int MMSFBColor::getARGB (  )  [inline]

Definition at line 531 of file mmstypes.h.

bool MMSFBColor::operator== ( const MMSFBColor c  )  [inline]

Definition at line 540 of file mmstypes.h.

bool MMSFBColor::operator!= ( const MMSFBColor c  )  [inline]

Definition at line 544 of file mmstypes.h.


Member Data Documentation

unsigned char MMSFBColor::r

red

Definition at line 502 of file mmstypes.h.

unsigned char MMSFBColor::g

green

Definition at line 504 of file mmstypes.h.

unsigned char MMSFBColor::b

blue

Definition at line 506 of file mmstypes.h.

unsigned char MMSFBColor::a

alphachannel

Definition at line 508 of file mmstypes.h.


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