]> git.lyx.org Git - features.git/blobdiff - src/BufferView_pimpl.h
more changes to bufferview, fix cursorpositioning, correct color on insetinfos
[features.git] / src / BufferView_pimpl.h
index 25f4715165dcde89c39cd020956bd4e1b90f9d62..c0d09c806bec4eb67dfdda84c9134a88b61d5477 100644 (file)
@@ -18,12 +18,41 @@ class LyXScreen;
 struct BufferView::Pimpl {
        Pimpl(BufferView * i, LyXView * o,
              int xpos, int ypos, int width, int height);
-       
+       ///
+       Painter & painter();
+       ///
+       void buffer(Buffer *);
+       ///
+       void resize(int xpos, int ypos, int width, int height);
+       ///
+       void resize();
+       ///
+       void redraw();
+       ///
+       void fitCursor();
+       ///
+       void redoCurrentBuffer();
+       ///
+       int resizeCurrentBuffer();
+       ///
+       void update();
+       ///
+       void update(signed char f);
+       ///
+       void smallUpdate(signed char f);
+       ///
+       void gotoError();
        /// Update pixmap of screen
        void updateScreen();
        ///
        void workAreaExpose();
        ///
+       void updateScrollbar();
+       ///
+       void scrollCB(double value);
+       ///
+       void downCB(long time, int button);
+       ///
        void scrollUpOnePage();
        ///
        void scrollDownOnePage();
@@ -48,6 +77,46 @@ struct BufferView::Pimpl {
        ///
        void tripleClick(int x, int y, unsigned int button);
        ///
+       void cursorToggle();
+       ///
+       void cursorPrevious();
+       ///
+       void cursorNext();
+       ///
+       bool available() const;
+       ///
+       void beforeChange();
+       ///
+       void savePosition();
+       ///
+       void restorePosition();
+       ///
+       void setState();
+       ///
+       void insetSleep();
+       ///
+       void insetWakeup();
+       ///
+       void insetUnlock();
+       ///
+       bool focus() const;
+       ///
+       void focus(bool);
+       ///
+       bool active() const;
+       ///
+       bool belowMouse() const;
+       ///
+       void showCursor();
+       ///
+       void hideCursor();
+       ///
+       void toggleSelection(bool = true);
+       ///
+       void toggleToggle();
+       ///
+       void center();
+       ///
        BufferView * bv_;
        ///
        LyXView * owner_;