X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FColorHandler.h;h=b5864e0f6e2b39ed580047b0f0d821f2bb47e4d2;hb=00d24ec87650e4ac7db77ad54cb4aa2f688100f3;hp=44cbc9d44a285834d0d433cb31b6d534d3567668;hpb=d1e95f33c4cf4d9b03b535f82561943b58cdcd64;p=lyx.git diff --git a/src/ColorHandler.h b/src/ColorHandler.h index 44cbc9d44a..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,6 +15,8 @@ #pragma interface #endif +#include + // This is only included to provide stuff for the non-public sections #include @@ -23,7 +25,10 @@ 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: /// @@ -56,6 +61,6 @@ private: }; /// -extern LyXColorHandler * lyxColorHandler; +extern boost::scoped_ptr lyxColorHandler; #endif