]> git.lyx.org Git - features.git/blobdiff - src/frontends/xforms/ColorHandler.h
The 'Branches' mega-patch.
[features.git] / src / frontends / xforms / ColorHandler.h
index a402f22f3e0853b62ff5c7a345699be9a4120a5a..7f6ccf2e53681963328fca882f9b37780055ae23 100644 (file)
@@ -16,6 +16,7 @@
 #include "frontends/Painter.h"
 
 #include <map>
+#include <vector>
 #include <boost/scoped_ptr.hpp>
 
 // This is only included to provide stuff for the non-public sections
@@ -48,8 +49,10 @@ private:
        Display * display;
        ///
        Colormap colormap;
+       /// 
+       std::vector<GC> colorGCcache;
        ///
-       GC colorGCcache[LColor::ignore + 1];
+       GC getGCForeground(string const & s);
        ///
        typedef std::map<int, GC> LineGCCache;
        ///