// -*- C++ -*-
/**
* \file XPainter.h
- * Copyright 1995-2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
* \author unknown
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
*/
#ifndef XPAINTER_H
class LyXFont;
-class WorkArea;
+class XWorkArea;
/**
* XPainter - a painter implementation for Xlib
*/
class XPainter : public Painter {
public:
- XPainter(WorkArea &);
+ XPainter(XWorkArea &);
/// return the width of the work area in pixels
virtual int paperWidth() const;
/// draw an image from the image cache
virtual Painter & image(int x, int y,
int w, int h,
- grfx::GImage const & image);
+ grfx::Image const & image);
/// draw a string at position x, y (y is the baseline)
virtual Painter & text(int x, int y,
private:
/// our owner who we paint upon
- WorkArea & owner_;
+ XWorkArea & owner_;
};
#endif // XPAINTER_H