Map for RGB colors (actually, into the format RRGGBB) into source-highlight colors. More...
#include <QtColorMap.h>
Inherits std::map< std::string, std::string >.
Public Member Functions | |
std::string | getColor (const std::string &color) |
Returns the source-highlight color associated to the passed string of the shape "#RRGGBB"; if a mapping does not exist, then it returns the passed string itself). |
Map for RGB colors (actually, into the format RRGGBB) into source-highlight colors.
If a map does not exist it simply returns the rgb color.
std::string srchiliteqt::QtColorMapRGB::getColor | ( | const std::string & | color | ) |
Returns the source-highlight color associated to the passed string of the shape "#RRGGBB"; if a mapping does not exist, then it returns the passed string itself).
The search is NOT case sensitive.
color | the color in rgb form "#RRGGBB" |