]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.C
citation patch from Angus
[lyx.git] / src / BufferView.C
index e1a72466a66283132143ed775c2186a578867369..e244fb46b3605ecf6fb2eab451fe532f30a01f8d 100644 (file)
@@ -51,6 +51,12 @@ LyXScreen * BufferView::screen() const
 }
 
 
+WorkArea * BufferView::workarea() const
+{
+       return pimpl_->workarea_;
+}
+
+
 LyXView * BufferView::owner() const
 {
        return pimpl_->owner_;
@@ -111,6 +117,13 @@ void BufferView::updateScrollbar()
 }
 
 
+Inset * BufferView::checkInsetHit(LyXText * text, int & x, int & y,
+                                 unsigned int button)
+{
+       return pimpl_->checkInsetHit(text, x, y, button);
+}
+
+
 void BufferView::redoCurrentBuffer()
 {
        pimpl_->redoCurrentBuffer();
@@ -185,14 +198,6 @@ void BufferView::workAreaExpose()
 }
 
 
-//  // Callback for cursor timer
-void BufferView::cursorToggleCB(void * ob)
-{
-       BufferView * view = static_cast<BufferView*>(ob);
-       view->pimpl_->cursorToggle();
-}
-
-
 void BufferView::cursorPrevious()
 {
        pimpl_->cursorPrevious();