]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
redraw fix 1.
[lyx.git] / src / BufferView.h
index f994f582cd400c178bfb52301108c1218bbee4e6..0c91f1c3808f2c21d70619f96105dc22d86186d7 100644 (file)
@@ -25,7 +25,7 @@ class LyXView;
 class LyXText;
 class TeXErrors;
 class Buffer;
-class LScreen;
+class LyXScreen;
 class Language;
 class Painter;
 class UpdatableInset;
@@ -54,15 +54,17 @@ public:
        ///
        Painter & painter() const;
        ///
-       LScreen & screen() const;
+       LyXScreen & screen() const;
        ///
        void buffer(Buffer * b);
        ///
-       void resize(int, int, int, int);
-       ///
        void resize();
-       ///
-       void redraw();
+       /**
+        * Repaint the pixmap. Used for when we don't want
+        * to go through the full update() logic, just a simple
+        * repaint of the whole screen.
+        */
+       void repaint();
        ///
        bool fitCursor();
        ///
@@ -76,8 +78,6 @@ public:
        ///
        void redoCurrentBuffer();
        ///
-       int resizeCurrentBuffer();
-       ///
        void cursorPrevious(LyXText *);
        ///
        void cursorNext(LyXText *);
@@ -181,10 +181,6 @@ public:
        ///
        void center();
 
-       ///
-       bool focus() const;
-       ///
-       void focus(bool);
        /// Scroll the view by a number of pixels
        void scrollDocView(int);