3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS
11 #include "lcolorcache.h"
13 LColorCache lcolorcache;
16 LColorCache::LColorCache()
21 QColor const & LColorCache::get(LColor::color col) const
23 lcolor_map::const_iterator cit = colormap.find(col);
24 if (cit != colormap.end())
27 QColor const qcol(lcolor.getX11Name(col).c_str());
33 void LColorCache::clear()