]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView_pimpl.h
More fixes to insettabular/text (and some missing features added).
[lyx.git] / src / BufferView_pimpl.h
index 4358e20197396ac012b83a2343ebbfd79b25605d..7eaef53b6d3cffeb37ef0492aaed15112641377c 100644 (file)
@@ -20,7 +20,9 @@ class LyXScreen;
 using SigC::Object;
 #endif
 
+///
 struct BufferView::Pimpl : public Object {
+       ///
        Pimpl(BufferView * i, LyXView * o,
              int xpos, int ypos, int width, int height);
        ///
@@ -34,14 +36,14 @@ struct BufferView::Pimpl : public Object {
        ///
        void redraw();
        /// Return true if the cursor was fitted.
-       bool fitCursor();
+       bool fitCursor(LyXText *);
        ///
        void redoCurrentBuffer();
        ///
        int resizeCurrentBuffer();
        ///
        void update();
-       ///
+       //
        void update(BufferView::UpdateCodes);
        ///
        void gotoError();
@@ -54,12 +56,15 @@ struct BufferView::Pimpl : public Object {
        ///
        void scrollCB(double value);
        ///
-       Inset * checkInsetHit(LyXText *, int & x, int & y, unsigned int button);
+       Inset * checkInsetHit(LyXText *, int & x, int & y,
+                             unsigned int button);
        /// 
        int scrollUp(long time);
        ///
        int scrollDown(long time);
        ///
+       void workAreaKeyPress(KeySym, unsigned int state);
+       ///
        void workAreaMotionNotify(int x, int y, unsigned int state);
        ///
        void workAreaButtonPress(int x, int y, unsigned int button);
@@ -76,9 +81,9 @@ struct BufferView::Pimpl : public Object {
        ///
        void cursorToggle();
        ///
-       void cursorPrevious();
+       void cursorPrevious(LyXText *);
        ///
-       void cursorNext();
+       void cursorNext(LyXText *);
        ///
        bool available() const;
        ///
@@ -132,7 +137,9 @@ struct BufferView::Pimpl : public Object {
         ///
         BackStack backstack;
        ///
-       int last_click_x, last_click_y;
+       int last_click_x;
+       ///
+       int last_click_y;
        ///
        WorkArea * workarea_;
        ///
@@ -142,6 +149,7 @@ struct BufferView::Pimpl : public Object {
        ///
        void stuffClipboard(string const &) const;
 private:
+       ///
        bool using_xterm_cursor;
 };
 #endif