]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
more changes, read the Changelog
[lyx.git] / src / BufferView.h
index e714c63d33f5b1b199ab62c41fb326d3eb9019d9..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();
@@ -234,6 +239,7 @@ public:
        void stuffClipboard(string const &) const;
 private:
        struct Pimpl;
+       friend struct BufferView::Pimpl;
        Pimpl * pimpl_;
 };