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.
21 // FIXME: use a fixed-size array not a map ?
24 * Cache from LColor to QColor.
30 /// get the given color
31 QColor const & get(LColor::color color) const;
37 typedef std::map<LColor::color, QColor> lcolor_map;
39 mutable lcolor_map colormap;
42 /// singleton instance
43 extern LColorCache lcolorcache;
45 #endif // LCOLORCACHE_H