]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcommand.h
* support/os_unix.C (canAutoOpen, autoOpenFile): on Mac OS X, use
[lyx.git] / src / insets / insetcommand.h
index c268f07e551223f11fc75378088c63e0893612d0..a2397dba654e02ac2d2895395e20f89506e32522 100644 (file)
@@ -47,9 +47,6 @@ public:
        ///
        virtual void read(Buffer const &, LyXLex & lex)
                { p_.read(lex); }
-       /// Can remove one InsetBibKey is modified
-       /// FIXME remove
-       void scanCommand(std::string const & c) { p_.scanCommand(c); };
        ///
        virtual int latex(Buffer const &, odocstream &,
                          OutputParams const &) const;
@@ -91,6 +88,8 @@ public:
        std::string const getSecOptions() const { return p_.getSecOptions(); }
        ///
        RenderButton & button() const { return button_; }
+       ///
+       bool setMouseHover(bool mouse_hover);
 
 protected:
        ///
@@ -128,6 +127,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_;
 };