X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FColorHandler.h;h=185f03dcd7646b2c18dd7b50bb49fd812915f426;hb=98c966c64594611e469313314abd1e59524adb4a;hp=44cbc9d44a285834d0d433cb31b6d534d3567668;hpb=d1e95f33c4cf4d9b03b535f82561943b58cdcd64;p=lyx.git diff --git a/src/ColorHandler.h b/src/ColorHandler.h index 44cbc9d44a..185f03dcd7 100644 --- a/src/ColorHandler.h +++ b/src/ColorHandler.h @@ -1,10 +1,10 @@ // -*- C++ -*- /* This file is part of * ====================================================== - * + * * LyX, The Document Processor - * - * Copyright 1995-2000 The LyX Team + * + * Copyright 1995-2001 The LyX Team * * ======================================================*/ @@ -15,15 +15,19 @@ #pragma interface #endif +#include + // This is only included to provide stuff for the non-public sections #include #include "PainterBase.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: /// @@ -56,6 +60,6 @@ private: }; /// -extern LyXColorHandler * lyxColorHandler; +extern boost::scoped_ptr lyxColorHandler; #endif