Source-highlight Qt Library
|
Map for RGB colors (actually, into the format #RRGGBB) into source-highlight colors. More...
#include <QtColorMap.h>
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). More... | |
Public Attributes | |
K | keys |
STL member. | |
T | elements |
STL member. | |
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" |