]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/xscreen.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / xscreen.h
index 2fad257118fdb19cd68faf02250af1dadebd1786..584c4f2d5b49a7092ff368d0363cc44895b89f70 100644 (file)
@@ -1,26 +1,24 @@
 // -*- C++ -*-
 /**
  * \file xscreen.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 XSCREEN_H
 #define XSCREEN_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include <X11/Xlib.h>
 
 #include "screen.h"
+#include <X11/Xlib.h> // for Pixmap, GC
+
+class XWorkArea;
 
-#include "XWorkArea.h"
 /** The class XScreen is used for the main Textbody.
     Concretely, the screen is held in a pixmap.  This pixmap is kept up to
     date and used to optimize drawing on the screen.
@@ -42,7 +40,7 @@ public:
        virtual void showManualCursor(LyXText const *, int x, int y,
                              int asc, int desc,
                              Cursor_Shape shape);
-       
+
        /** Draws the screen form textposition y. Uses as much of
            the already printed pixmap as possible */
        virtual void draw(LyXText *, BufferView *, unsigned int y);
@@ -50,14 +48,14 @@ public:
 protected:
        /// get the work area
        virtual WorkArea & workarea() const { return owner_; }
+
        /// Copies specified area of pixmap to screen
-       virtual void expose(int x, int y, int exp_width, int exp_height); 
+       virtual void expose(int x, int y, int w, int h);
+
 private:
        /// our owning widget
        XWorkArea & owner_;
+
        ///
        Pixmap cursor_pixmap;
        ///