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
18 #include <boost/scoped_ptr.hpp>
24 * Qt implementation of toolkit-specific parts of LyXScreen.
26 class QScreen : public LyXScreen {
33 * draw the screen from a given position
34 * @param y the text position to draw from
36 * Uses as much of the already printed pixmap as possible
38 virtual void draw(LyXText *, BufferView *, unsigned int y);
42 virtual WorkArea & workarea() const { return owner_; }
44 /// repaint the whole content immediately
47 /// copies specified area of pixmap to screen
48 virtual void expose(int x, int y, int exp_width, int exp_height);
50 /// paint the cursor and store the background
51 virtual void showCursor(int x, int y, int h, Cursor_Shape shape);
54 virtual void removeCursor();
60 boost::scoped_ptr<QPixmap> nocursor_pixmap_;
62 //@{ the cursor pixmap position/size