Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

oofColor Class Reference

#include <oofcolor.h>

List of all members.


Detailed Description

Cross-platform color specification class.


Public Types

enum  eColor {
  White, Yellow, DarkYellow, Red,
  DarkRed, Magenta, DarkMagenta, Blue,
  DarkBlue, Cyan, DarkCyan, Green,
  DarkGreen, Gray, DarkGray, Black
}

Public Member Functions

 oofColor (unsigned int inRed=0, unsigned int inGreen=0, unsigned int inBlue=0)
 oofColor (const oofColor &)
 oofColor (const oofColor *)
 oofColor (const eColor)
void extract (std::ostream &) const
int red () const
int green () const
int blue () const
const RGBColor & color () const
 operator const RGBColor * () const
 operator const RGBColor () const
void set (const RGBColor color)
void set (const eColor color)
void set (unsigned int R, unsigned int G, unsigned int B)


Member Enumeration Documentation

enum oofColor::eColor
 

Enumeration values:
White 
Yellow 
DarkYellow 
Red 
DarkRed 
Magenta 
DarkMagenta 
Blue 
DarkBlue 
Cyan 
DarkCyan 
Green 
DarkGreen 
Gray 
DarkGray 
Black 


Constructor & Destructor Documentation

oofColor::oofColor unsigned int  inRed = 0,
unsigned int  inGreen = 0,
unsigned int  inBlue = 0
 

oofColor::oofColor const oofColor  ) 
 

oofColor::oofColor const oofColor  ) 
 

oofColor::oofColor const  eColor  ) 
 


Member Function Documentation

int oofColor::blue  )  const [inline]
 

const RGBColor & oofColor::color  )  const
 

void oofColor::extract std::ostream &   )  const
 

int oofColor::green  )  const [inline]
 

oofColor::operator const RGBColor  )  const
 

oofColor::operator const RGBColor *  )  const
 

int oofColor::red  )  const [inline]
 

void oofColor::set unsigned int  R,
unsigned int  G,
unsigned int  B
 

void oofColor::set const eColor  color  ) 
 

void oofColor::set const RGBColor  color  ) 
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 1 21:31:26 2004 for OOFILE by doxygen 1.3.5