X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FColorHandler.h;h=185f03dcd7646b2c18dd7b50bb49fd812915f426;hb=98c966c64594611e469313314abd1e59524adb4a;hp=b9e2640839f014d17f9da62f1941d551f31011f6;hpb=802d3221e0dae22037262d4185f5e671b86064ba;p=lyx.git diff --git a/src/ColorHandler.h b/src/ColorHandler.h index b9e2640839..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,20 +15,19 @@ #pragma interface #endif -//#include "config.h" -//#include "LString.h" +#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: /// @@ -60,6 +59,7 @@ private: Pixmap drawable; }; -extern LyXColorHandler * lyxColorHandler; +/// +extern boost::scoped_ptr lyxColorHandler; #endif