]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbase.h
more cleanup:
[lyx.git] / src / insets / insetbase.h
index f0aa1d4903a3d7d6a1846c665044fb5b84577352..8e1af0aee74e15bd810d3ba2795c16ffb578dbca 100644 (file)
@@ -180,6 +180,9 @@ public:
        /// is called when the cursor leaves this inset
        //  returns true if cursor is now invalid.
        virtual bool notifyCursorLeaves(LCursor &) { return false; }
+       /// is called when the mouse enter or leave this inset
+       /// return true if this inset needs repaint
+       virtual bool setMouseHover(bool) { return false; }
 
        /// request "external features"
        virtual void validate(LaTeXFeatures &) const {}