X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FColorHandler.h;h=7f6ccf2e53681963328fca882f9b37780055ae23;hb=fd6cd728a390aeac274f505723c1cdc92a60010a;hp=a402f22f3e0853b62ff5c7a345699be9a4120a5a;hpb=0bbad21ca035fdc9784ae6717d9a54829ec0e228;p=features.git diff --git a/src/frontends/xforms/ColorHandler.h b/src/frontends/xforms/ColorHandler.h index a402f22f3e..7f6ccf2e53 100644 --- a/src/frontends/xforms/ColorHandler.h +++ b/src/frontends/xforms/ColorHandler.h @@ -16,6 +16,7 @@ #include "frontends/Painter.h" #include +#include #include // This is only included to provide stuff for the non-public sections @@ -48,8 +49,10 @@ private: Display * display; /// Colormap colormap; + /// + std::vector colorGCcache; /// - GC colorGCcache[LColor::ignore + 1]; + GC getGCForeground(string const & s); /// typedef std::map LineGCCache; ///