OGS
Color.cpp File Reference

Detailed Description

Implementation of the Color class.

Author
Karsten Rink
Date
2010-06-16

Definition in file Color.cpp.

#include "Color.h"
#include "BaseLib/Logging.h"
Include dependency graph for Color.cpp:

Go to the source code of this file.

Namespaces

namespace  DataHolderLib
 

Functions

Color DataHolderLib::createColor (unsigned char r, unsigned char g, unsigned char b, unsigned char a)
 
Color DataHolderLib::getRandomColor ()
 Returns a random RGB colour.
 
Color DataHolderLib::getColor (const std::string &id, std::map< std::string, Color > &colors)