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.
13 #include "lcolorcache.h"
15 LColorCache lcolorcache;
18 LColorCache::LColorCache()
23 QColor const & LColorCache::get(LColor::color col) const
25 lcolor_map::const_iterator cit = colormap.find(col);
26 if (cit != colormap.end())
29 QColor const qcol(lcolor.getX11Name(col).c_str());
35 void LColorCache::clear()