]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcommand.h
more cleanup:
[lyx.git] / src / insets / insetcommand.h
index c268f07e551223f11fc75378088c63e0893612d0..404874c698b82e3752aaf24263d479812bf6ae02 100644 (file)
@@ -91,6 +91,8 @@ public:
        std::string const getSecOptions() const { return p_.getSecOptions(); }
        ///
        RenderButton & button() const { return button_; }
+       ///
+       bool setMouseHover(bool mouse_hover);
 
 protected:
        ///
@@ -128,6 +130,8 @@ private:
        ///
        InsetCommandParams p_;
        std::string mailer_name_;
+       /// changes color when mouse enters/leaves this inset
+       bool mouse_hover_;
        mutable bool updateButtonLabel_;
        mutable RenderButton button_;
 };