X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FColorHandler.h;h=af85ad88b6a6ef1fa48e77ba5b7e9a686f6eff1f;hb=06f9f0ea08ddcf13e99ea02cff21471aa2020c9e;hp=44cbc9d44a285834d0d433cb31b6d534d3567668;hpb=d1e95f33c4cf4d9b03b535f82561943b58cdcd64;p=lyx.git diff --git a/src/ColorHandler.h b/src/ColorHandler.h index 44cbc9d44a..af85ad88b6 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 "frontends/Painter.h" + +#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