]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
more changes, read the Changelog
[lyx.git] / src / BufferView.h
index 91033dbc6c201f1f1788626d69c9d143cca36726..b5783957aa64ad6e5858f0bff1ff68bb3663f3f2 100644 (file)
@@ -24,6 +24,7 @@ class LyXText;
 class TeXErrors;
 class Buffer;
 class LyXScreen;
+class WorkArea;
 
 ///
 class BufferView {
@@ -47,6 +48,8 @@ public:
        ///
        LyXScreen * screen() const;
        ///
+       WorkArea * workarea() const;
+       ///
        void buffer(Buffer * b);
        ///
        void resize(int, int, int, int);
@@ -63,6 +66,8 @@ public:
        ///
        void updateScrollbar();
        ///
+       Inset * checkInsetHit(LyXText *, int & x, int & y, unsigned int button);
+       /// 
        void redoCurrentBuffer();
        ///
        int resizeCurrentBuffer();
@@ -205,9 +210,6 @@ public:
        /// A callback for the slider in the scrollbar.
        void scrollCB(double);
 
-       ///
-       static void cursorToggleCB(void * ob);
-
        ///
        void setState();
 
@@ -237,6 +239,7 @@ public:
        void stuffClipboard(string const &) const;
 private:
        struct Pimpl;
+       friend struct BufferView::Pimpl;
        Pimpl * pimpl_;
 };