OGS
|
Definition of the Color class.
Definition in file Color.h.
#include <array>
#include <map>
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | DataHolderLib |
Typedefs | |
using | DataHolderLib::Color = std::array<unsigned char, 4> |
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, DataHolderLib::Color > &colors) |