srchiliteqt::QtColorMapRGB Class Reference

Map for RGB colors (actually, into the format RRGGBB) into source-highlight colors. More...

#include <QtColorMap.h>

Inherits std::map< std::string, std::string >.

Collaboration diagram for srchiliteqt::QtColorMapRGB:
Collaboration graph
[legend]

List of all members.

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).

Detailed Description

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.

Since:
0.2

Member Function Documentation

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.

Parameters:
color the color in rgb form "#RRGGBB"
Returns:
the source-highlight color associated to the passed string, or the passed string if there is no association.

The documentation for this class was generated from the following files:

Generated on Sat Mar 6 11:23:00 2010 for Source-highlight Qt Library by  doxygen 1.6.1