#ifndef COLORCACHE_H
#define COLORCACHE_H
-#include "LColor.h"
+#include "ColorCode.h"
#include <QColor>
// FIXME: use a fixed-size array not a map ?
/**
- * Cache from LColor to QColor.
+ * Cache from Color to QColor.
*/
class ColorCache {
public:
ColorCache() {}
/// get the given color
- QColor const & get(LColor_color color) const;
+ QColor const & get(ColorCode color) const;
/// clear all colors
void clear();
private:
- typedef std::map<LColor_color, QColor> lcolor_map;
+ typedef std::map<ColorCode, QColor> lcolor_map;
mutable lcolor_map colormap;
};