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.
23 // FIXME: use a fixed-size array not a map ?
26 * Cache from LColor to QColor.
32 /// get the given color
33 QColor const & get(LColor_color color) const;
39 typedef std::map<LColor_color, QColor> lcolor_map;
41 mutable lcolor_map colormap;
44 /// singleton instance
45 extern LColorCache lcolorcache;
47 #endif // LCOLORCACHE_H