]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.C
Painter and scrollbar API patches
[lyx.git] / src / BufferView.C
index 5a2047f3152726f7ef89af2394f7d69abe3a4d08..6e169eb689415697184740fe1db272d1044852f5 100644 (file)
@@ -1,12 +1,11 @@
-/* This file is part of
- * ======================================================
+/**
+ * \file BufferView.C
+ * Copyright 1995-2002 the LyX Team
+ * Read the file COPYING
  *
- *           LyX, The Document Processor
- *
- *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2001 The LyX Team.
- *
- * ====================================================== */
+ * \author unknown
+ * \author John Levon <moz@compsoc.man.ac.uk>
+ */
 
 #include <config.h>
 
@@ -54,7 +53,7 @@ LyXView * BufferView::owner() const
 }
 
 
-Painter & BufferView::painter()
+Painter & BufferView::painter() const
 {
        return pimpl_->painter();
 }
@@ -102,9 +101,9 @@ void BufferView::updateScrollbar()
 }
 
 
-void BufferView::scrollCB(double value)
+void BufferView::scrollDocView(int value)
 {
-       pimpl_->scrollCB(value);
+       pimpl_->scrollDocView(value);
 }
 
 
@@ -179,19 +178,6 @@ void BufferView::setState()
        pimpl_->setState();
 }
 
-#if 0
-void BufferView::insetSleep()
-{
-       pimpl_->insetSleep();
-}
-
-
-void BufferView::insetWakeup()
-{
-       pimpl_->insetWakeup();
-}
-#endif
-
 
 void BufferView::insetUnlock()
 {