]> git.lyx.org Git - lyx.git/blobdiff - src/WorkArea.h
get rid of LYX_LIBS
[lyx.git] / src / WorkArea.h
index 118c0d1b68b3d08f6336c57c4ebb52f7da1bb8b7..eb1bf551ff0a1855a6d8ef1124381d81ece880ac 100644 (file)
@@ -68,10 +68,6 @@ public:
        ///
        void greyOut() const;
        ///
-       void show() const;
-       ///
-       void destroySplash() const;
-       ///
        void setScrollbar(double pos, double length_fraction) const;
        ///
        void setScrollbarValue(double y) const {
@@ -99,6 +95,8 @@ public:
                                     int /*key*/, void * xev);
        /// xforms callback
        static void scroll_cb(FL_OBJECT *, long);
+       /// a selection exists
+       void haveSelection(bool) const;
        ///
        string const getClipboard() const;
        ///
@@ -128,9 +126,17 @@ public:
        SigC::Signal3<void, int, int, unsigned int> workAreaDoubleClick;
        ///
        SigC::Signal3<void, int, int, unsigned int> workAreaTripleClick;
+       /// emitted when an X client has requested our selection
+       SigC::Signal0<void> selectionRequested;
+       /// emitted when another X client has stolen our selection
+       SigC::Signal0<void> selectionLost;
+       /// handles SelectionRequest X Event, to fill the clipboard
+       void event_cb(XEvent * xev);
 private:
        ///
        void createPixmap(int, int);
        ///
        FL_OBJECT * backgroundbox;
        ///