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.
22 // FIXME: use a fixed-size array not a map ?
25 * Cache from LColor to QColor.
31 /// get the given color
32 QColor const & get(LColor_color color) const;
38 typedef std::map<LColor_color, QColor> lcolor_map;
40 mutable lcolor_map colormap;
43 /// singleton instance
44 extern LColorCache lcolorcache;
46 #endif // LCOLORCACHE_H