]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.C
redraw fix 1.
[lyx.git] / src / BufferView.C
index 78b4b09d25f47b1af4a5862813ff9961e4c74cec..d9d6e37774f8d42d76914d441c697f46f911a643 100644 (file)
@@ -65,21 +65,15 @@ void BufferView::buffer(Buffer * b)
 }
 
 
-void BufferView::resize(int xpos, int ypos, int width, int height)
-{
-       pimpl_->resize(xpos, ypos, width, height);
-}
-
-
 void BufferView::resize()
 {
-       pimpl_->resize();
+       pimpl_->resizeCurrentBuffer();
 }
 
 
-void BufferView::redraw()
+void BufferView::repaint()
 {
-       pimpl_->redraw();
+       pimpl_->repaint();
 }
 
 
@@ -119,12 +113,6 @@ void BufferView::redoCurrentBuffer()
 }
 
 
-int BufferView::resizeCurrentBuffer()
-{
-       return pimpl_->resizeCurrentBuffer();
-}
-
-
 void BufferView::cursorPrevious(LyXText * text)
 {
        pimpl_->cursorPrevious(text);
@@ -185,18 +173,6 @@ void BufferView::insetUnlock()
 }
 
 
-bool BufferView::focus() const
-{
-       return pimpl_->focus();
-}
-
-
-void BufferView::focus(bool f)
-{
-       pimpl_->focus(f);
-}
-
-
 int BufferView::workWidth() const
 {
        return pimpl_->workarea().workWidth();