// -*- C++ -*-
/* This file is part of
* ======================================================
- *
+ *
* LyX, The Document Processor
- *
- * Copyright 1995-2000 The LyX Team
+ *
+ * Copyright 1995-2001 The LyX Team
*
* ======================================================*/
#pragma interface
#endif
+#include "frontends/Painter.h"
+
+#include <boost/scoped_ptr.hpp>
+
// This is only included to provide stuff for the non-public sections
#include <X11/Xlib.h>
-#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:
///
};
///
-extern LyXColorHandler * lyxColorHandler;
+extern boost::scoped_ptr<LyXColorHandler> lyxColorHandler;
#endif