]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/ColorCache.h
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / frontends / qt4 / ColorCache.h
index 0604061537a6ca36f2b4a0ead482456b7370b8ab..4ac490501160c2f244a2a67167ee2235245d2593 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef COLORCACHE_H
 #define COLORCACHE_H
 
-#include "LColor.h"
+#include "ColorCode.h"
 
 #include <QColor>
 
@@ -26,20 +26,20 @@ struct RGBColor;
 // 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;
 };