- /// Slot for Buffer::closing boost signal.
- void close();
- ///
- void resizeBufferView();
- /// hide the visible cursor, if it is visible
- void hideCursor();
- /// show the cursor if it is not visible
- void showCursor();
- /// toggle the cursor's visibility
- void toggleCursor();
- /// hide the cursor
- virtual void removeCursor() = 0;
- /// paint the cursor and store the background
- virtual void showCursor(int x, int y, int h, CursorShape shape) = 0;
- ///
- void updateScrollbar();
-
- ///
- BufferView * buffer_view_;
- ///
- LyXView * lyx_view_;
-
-private:
- /// is the cursor currently displayed
- bool cursor_visible_;
-
- ///
- Timeout cursor_timeout_;
+ /// Slot for Buffer::closing signal.
+ virtual void close() = 0;
+ /// This function is called when the buffer readonly status change.
+ virtual void setReadOnly(bool) = 0;