4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
27 // FIXME: use a fixed-size array not a map ?
30 * Cache from LColor to QColor.
36 /// get the given color
37 QColor const & get(LColor_color color) const;
43 typedef std::map<LColor_color, QColor> lcolor_map;
45 mutable lcolor_map colormap;
48 /// singleton instance
49 extern LColorCache lcolorcache;
52 QColor const rgb2qcolor(lyx::RGBColor const &);
53 #endif // LCOLORCACHE_H