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.
19 /** The class GScreen is used for the main Textbody.
20 Concretely, the screen is held in a pixmap. This pixmap is kept up to
21 date and used to optimize drawing on the screen.
22 This class also handles the drawing of the cursor and partly the selection.
24 class GScreen : public LyXScreen {
32 /// Sets the cursor color to LColor::cursor.
33 virtual void setCursorColor(Glib::RefPtr<Gdk::GC> gc);
35 virtual void removeCursor();
37 virtual void showCursor(int x, int y, int h,
42 virtual WorkArea & workarea() const { return owner_; }
44 /// Copies specified area of pixmap to screen
45 virtual void expose(int x, int y, int w, int h);
52 Glib::RefPtr<Gdk::Pixmap> cursorPixmap_;