]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/xscreen.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / xscreen.h
index dbae69a21dc0a16f35b308f6a06776ef27bc97a6..68eb4cca0f6c2878617455404fb2b3e128211232 100644 (file)
@@ -7,7 +7,7 @@
  * \author unknown
  * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef XSCREEN_H
 #include "screen.h"
 #include <X11/Xlib.h> // for Pixmap, GC
 
+class WorkArea;
 class XWorkArea;
 
+
 /** 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.
@@ -35,13 +37,9 @@ public:
        /// Sets the cursor color to LColor::cursor.
        virtual void setCursorColor();
 
-       /** Draws the screen form textposition y. Uses as much of
-           the already printed pixmap as possible */
-       virtual void draw(LyXText *, BufferView *, unsigned int y);
-
 protected:
        /// get the work area
-       virtual WorkArea & workarea() const { return owner_; }
+       virtual WorkArea & workarea() const;
 
        /// Copies specified area of pixmap to screen
        virtual void expose(int x, int y, int w, int h);