Graph API & internal structures redesign
[hypercube:hypercube.git] / CORE / colormap.h
1 #ifndef COLORMAP_H_
2 #define COLORMAP_H_
3
4 #include <map>
5 #include "color.h"
6
7 class ColorMap
8 {
9 public:
10         ColorMap();
11
12         Color color(const std::wstring &str);
13         void clear();
14
15 private:
16         Color nextColor();
17
18         std::map<std::wstring, Color> _colors;
19         float _hueState;
20 };
21
22 #endif // COLORMAP_H_