* \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
#define XSCREEN_H
-
#include "screen.h"
#include <X11/Xlib.h> // for Pixmap, GC
+class WorkArea;
+
+namespace lyx {
+namespace frontend {
+
class XWorkArea;
/** The class XScreen is used for the main Textbody.
/// 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);
GC gc_copy;
};
+} // namespace frontend
+} // namespace lyx
+
#endif