///
Buffer * buffer() const;
///
- Painter & painter();
+ Painter & painter() const;
///
- LyXScreen * screen() const;
+ LyXScreen & screen() const;
///
void buffer(Buffer * b);
///
- void resize(int, int, int, int);
- ///
void resize();
- ///
- void redraw();
+ /**
+ * Repaint the pixmap. Used for when we don't want
+ * to go through the full update() logic, just a simple
+ * repaint of the whole screen.
+ */
+ void repaint();
///
bool fitCursor();
///
///
void redoCurrentBuffer();
///
- int resizeCurrentBuffer();
- ///
void cursorPrevious(LyXText *);
///
void cursorNext(LyXText *);
int sly;
///
void insetUnlock();
-#if 0
- ///
- void insetSleep();
- ///
- void insetWakeup();
-#endif
///
void replaceWord(string const & replacestring);
///
///
void center();
- ///
- bool focus() const;
- ///
- void focus(bool);
- ///
- bool active() const;
- ///
- bool belowMouse() const;
- /// A callback for the slider in the scrollbar.
- void scrollCB(double);
+ /// Scroll the view by a number of pixels
+ void scrollDocView(int);
///
void setState();