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.
24 /** The class GScreen is used for the main Textbody.
25 Concretely, the screen is held in a pixmap. This pixmap is kept up to
26 date and used to optimize drawing on the screen.
27 This class also handles the drawing of the cursor and partly the selection.
29 class GScreen : public LyXScreen {
37 /// Sets the cursor color to LColor::cursor.
38 virtual void setCursorColor(Glib::RefPtr<Gdk::GC> gc);
40 virtual void removeCursor();
42 virtual void showCursor(int x, int y, int h, Cursor_Shape shape);
45 virtual WorkArea & workarea() const;
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