///
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();
+ /**
+ * 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();
///
- void redraw();
- ///
- void fitCursor();
+ bool fitCursor();
///
void update();
//
///
void redoCurrentBuffer();
///
- int resizeCurrentBuffer();
- ///
void cursorPrevious(LyXText *);
///
void cursorNext(LyXText *);
///
void insetUnlock();
///
- void insetSleep();
- ///
- void insetWakeup();
- ///
void replaceWord(string const & replacestring);
///
void endOfSpellCheck();
///
void hideLockedInsetCursor();
///
- void fitLockedInsetCursor(int x, int y, int asc, int desc);
+ bool fitLockedInsetCursor(int x, int y, int asc, int desc);
///
int unlockInset(UpdatableInset * inset);
///
///
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();