]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.C
fix typo that put too many include paths for most people
[lyx.git] / src / BufferView.C
index 6ed3ed8fa41ca59bceaf43c273b76b109a63da6c..68a19e76b251f04324946ce3636f14c56c201d4e 100644 (file)
@@ -1,8 +1,8 @@
 /* This file is part of
- * ====================================================== 
- * 
+ * ======================================================
+ *
  *           LyX, The Document Processor
- *        
+ *
  *           Copyright 1995 Matthias Ettrich
  *           Copyright 1995-2001 The LyX Team.
  *
@@ -53,13 +53,7 @@ LyXView * BufferView::owner() const
 }
 
 
-void BufferView::pushIntoUpdateList(Inset * i)
-{
-       pimpl_->updatelist.push(i);
-}
-
-
-Painter & BufferView::painter() 
+Painter & BufferView::painter()
 {
        return pimpl_->painter();
 }
@@ -89,9 +83,9 @@ void BufferView::redraw()
 }
 
 
-void BufferView::fitCursor()
+bool BufferView::fitCursor()
 {
-       pimpl_->fitCursor();
+       return pimpl_->fitCursor();
 }
 
 
@@ -113,10 +107,9 @@ void BufferView::scrollCB(double value)
 }
 
 
-Inset * BufferView::checkInsetHit(LyXText * text, int & x, int & y,
-                                 unsigned int button)
+Inset * BufferView::checkInsetHit(LyXText * text, int & x, int & y)
 {
-       return pimpl_->checkInsetHit(text, x, y, button);
+       return pimpl_->checkInsetHit(text, x, y);
 }
 
 
@@ -206,19 +199,19 @@ void BufferView::insetUnlock()
 
 bool BufferView::focus() const
 {
-       return pimpl_->focus();
+       return pimpl_->focus();
 }
 
 
 void BufferView::focus(bool f)
 {
-       pimpl_->focus(f);
+       pimpl_->focus(f);
 }
 
 
 bool BufferView::active() const
 {
-       return pimpl_->active();
+       return pimpl_->active();
 }
 
 
@@ -228,7 +221,7 @@ int BufferView::workWidth() const
 }
 
 
-bool BufferView::belowMouse() const 
+bool BufferView::belowMouse() const
 {
        return pimpl_->belowMouse();
 }
@@ -258,7 +251,7 @@ void BufferView::toggleToggle()
 }
 
 
-void BufferView::center() 
+void BufferView::center()
 {
        pimpl_->center();
 }