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 488 of file mmstypes.h.


Constructor & Destructor Documentation

MMSFBColor::MMSFBColor (  )  [inline]

Definition at line 499 of file mmstypes.h.

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

Definition at line 506 of file mmstypes.h.

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

Definition at line 513 of file mmstypes.h.


Member Function Documentation

unsigned int MMSFBColor::getARGB (  )  [inline]

Definition at line 520 of file mmstypes.h.

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

Definition at line 529 of file mmstypes.h.

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

Definition at line 533 of file mmstypes.h.


Member Data Documentation

unsigned char MMSFBColor::r

red

Definition at line 491 of file mmstypes.h.

unsigned char MMSFBColor::g

green

Definition at line 493 of file mmstypes.h.

unsigned char MMSFBColor::b

blue

Definition at line 495 of file mmstypes.h.

unsigned char MMSFBColor::a

alphachannel

Definition at line 497 of file mmstypes.h.


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