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.
15 #include "ColorCode.h"
24 * Cache from Color to QColor.
29 ColorCache() { init(); }
31 /// get the given color
32 QColor const & get(ColorCode color) const { return lcolors_[color]; }
35 void clear() { init(); }
41 QColor lcolors_[Color_ignore + 1];
45 QColor const rgb2qcolor(RGBColor const &);
49 #endif // COLORCACHE_H