X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathNest.h;h=3e8e1a7087904a898e6504930d9fc5dae39eea67;hb=d0d7d0103aed0b300807be54224ba7cd324c1ff5;hp=41387136d69b4629cefa6625682e589c1fa3fcf6;hpb=00e1771f945d7c32d67177f70ec56c6ccbe7dbd4;p=lyx.git diff --git a/src/mathed/InsetMathNest.h b/src/mathed/InsetMathNest.h index 41387136d6..3e8e1a7087 100644 --- a/src/mathed/InsetMathNest.h +++ b/src/mathed/InsetMathNest.h @@ -27,6 +27,8 @@ class InsetMathNest : public InsetMath { public: /// nestinsets have a fixed size to start with explicit InsetMathNest(idx_type ncells); + /// + virtual ~InsetMathNest() {} /// the size is usually some sort of convex hull of the cells /// hides inset::metrics() intentionally! @@ -103,8 +105,17 @@ public: /// int latex(Buffer const &, odocstream & os, OutputParams const & runparams) const; + /// + bool setMouseHover(bool mouse_hover); + /// + bool mouseHovered() const { return mouse_hover_; } protected: + /// + InsetMathNest(InsetMathNest const & inset); + /// + InsetMathNest & operator=(InsetMathNest const &); + /// virtual void doDispatch(Cursor & cur, FuncRequest & cmd); /// do we want to handle this event? @@ -146,6 +157,8 @@ protected: cells_type cells_; /// if the inset is locked, it can't be entered with the cursor bool lock_; + /// + bool mouse_hover_; };