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() : initialized_(false) {}
31 /// get the given color
32 QColor get(ColorCode color) const;
35 void clear() { initialized_ = false; }
41 QColor lcolors_[Color_ignore + 1];
47 QColor const rgb2qcolor(RGBColor const &);
51 #endif // COLORCACHE_H