Source-highlight Qt Library
Main Page
Related Pages
Classes
Files
File List
QtColorMap.h
1
/*
2
* Copyright (C) 2008-2010 Lorenzo Bettini, http://www.lorenzobettini.it
3
* License: See COPYING file that comes with this distribution
4
*/
5
6
#ifndef QTCOLORMAP_H_
7
#define QTCOLORMAP_H_
8
9
#include <map>
10
#include <string>
11
12
namespace
srchiliteqt {
13
18
class
QtColorMap
:
public
std::map<std::string, std::string> {
19
public
:
20
QtColorMap
();
21
~
QtColorMap
();
22
30
std::string
getColor
(
const
std::string &color);
31
};
32
40
class
QtColorMapRGB
:
public
std::map<std::string, std::string> {
41
public
:
42
QtColorMapRGB
();
43
~
QtColorMapRGB
();
44
53
std::string
getColor
(
const
std::string &color);
54
};
55
56
}
57
58
#endif
/* QTCOLORMAP_H_ */
QtColorMap.h
Generated on Sat Aug 25 2012 15:37:49 for Source-highlight Qt Library by
1.8.1.2