]> git.lyx.org Git - features.git/blobdiff - src/BufferView.h
doubleClick, trippleClick, new UpdateInsetList some other small stuff
[features.git] / src / BufferView.h
index 6b47eda9f5c6fb7368070488c8e671c2a6a2f895..0f43d9fa1416630da974624ed265f7c0617b094c 100644 (file)
@@ -20,6 +20,7 @@
 #include "BackStack.h"
 #include "LaTeX.h"
 #include "undo.h"
+#include "UpdateInset.h"
 
 class LyXView;
 class Buffer;
@@ -210,6 +211,8 @@ public:
        void focus(bool);
        ///
        bool active() const;
+       ///
+       bool belowMouse() const;
        /// A callback for the up arrow in the scrollbar.
        void upCB(long time, int button);
        /// A callback for the slider in the scrollbar.
@@ -233,6 +236,10 @@ private:
        ///
        void workAreaSelectionNotify(Window win, XEvent * event);
        ///
+       void doubleClick(int x, int y, unsigned int button);
+       ///
+       void trippleClick(int x, int y, unsigned int button);
+       ///
        LyXView * owner_;
        ///
        Buffer * buffer_;
@@ -254,6 +261,15 @@ private:
        int last_click_x, last_click_y;
        ///
        WorkArea * workarea;
+       ///
+       UpdateInset updatelist;
+public:
+       ///
+       void updateInset(Inset *, bool);
+       ///
+       void pushIntoUpdateList(Inset * i) {
+               updatelist.push(i);
+       }
 };
 
 #endif