4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
15 #include "frontends/WorkArea.h"
19 // FIXME: defined in X.h, spuriously pulled in by some gui headers
27 /** The class GScreen is used for the main Textbody.
28 Concretely, the screen is held in a pixmap. This pixmap is kept up to
29 date and used to optimize drawing on the screen.
30 This class also handles the drawing of the cursor and partly the selection.
40 /// Sets the cursor color to LColor::cursor.
41 virtual void setCursorColor(Glib::RefPtr<Gdk::GC> gc);
43 virtual void removeCursor();
45 virtual void showCursor(int x, int y, int h, CursorShape shape);
47 /// Copies specified area of pixmap to screen
48 virtual void expose(int x, int y, int w, int h);
54 Glib::RefPtr<Gdk::Pixmap> cursorPixmap_;
65 } // namespace frontend