X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FColorHandler.h;h=b5864e0f6e2b39ed580047b0f0d821f2bb47e4d2;hb=00d24ec87650e4ac7db77ad54cb4aa2f688100f3;hp=0af42d70dc60d6a777f72b5186bed2dbb7542882;hpb=797d87b4513088a66b17c7ac653b84e36ea80458;p=lyx.git diff --git a/src/ColorHandler.h b/src/ColorHandler.h index 0af42d70dc..b5864e0f6e 100644 --- a/src/ColorHandler.h +++ b/src/ColorHandler.h @@ -4,7 +4,7 @@ * * LyX, The Document Processor * - * Copyright 1995-2000 The LyX Team + * Copyright 1995-2001 The LyX Team * * ======================================================*/ @@ -15,17 +15,20 @@ #pragma interface #endif +#include + // This is only included to provide stuff for the non-public sections #include -#include #include "PainterBase.h" -#include "LColor.h" class LyXFont; class WorkArea; -/// +/** + * This is a factory class that can produce GCs with a specific + * color. It will cache GCs for performance. + */ class LyXColorHandler { public: /// @@ -58,6 +61,6 @@ private: }; /// -extern LyXColorHandler * lyxColorHandler; +extern boost::scoped_ptr lyxColorHandler; #endif