ifm::Color Class Reference

List of all members.


Detailed Description

Gui toolkit independant representation of a color.

Public Member Functions

 Color (const GuiColor &c)
 Color (unsigned char red=0, unsigned char green=0, unsigned char blue=0)
Color light (int percent)
 operator GuiColor () const

Public Attributes

unsigned char blue
unsigned char green
unsigned char red

Constructor & Destructor Documentation

ifm::Color::Color ( unsigned char  red = 0,
unsigned char  green = 0,
unsigned char  blue = 0 
)

ifm::Color::Color ( const GuiColor &  c  ) 

Allow implicit conversions for compatability with gui toolkits.


Member Function Documentation

Color ifm::Color::light ( int  percent  ) 

ifm::Color::operator GuiColor (  )  const

Allow implicit conversions for compatability with gui toolkits.


Member Data Documentation

unsigned char ifm::Color::blue

unsigned char ifm::Color::green

unsigned char ifm::Color::red


doxygen Get IFM - Interface Management System at SourceForge.net. Fast, secure and Free Open Source software downloads