]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/XPainter.h
Yet more dialog tweaking from Rob.
[lyx.git] / src / frontends / xforms / XPainter.h
index 1813cf1e60eeb6743d5f8badd684680bcdab33d4..221d103459f921448e4c53e501e6a7edeaba03c2 100644 (file)
@@ -1,11 +1,13 @@
 // -*- 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;
@@ -96,7 +98,7 @@ public:
        /// 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,
@@ -120,7 +122,7 @@ public:
  
 private:
        /// our owner who we paint upon
-       WorkArea & owner_;
+       XWorkArea & owner_;
 };
 
 #endif // XPAINTER_H