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