/// nestinsets have a fixed size to start with
explicit InsetMathNest(idx_type ncells);
///
- virtual ~InsetMathNest() { destroyed(); }
+ virtual ~InsetMathNest() {}
/// the size is usually some sort of convex hull of the cells
/// hides inset::metrics() intentionally!
///
int latex(Buffer const &, odocstream & os,
OutputParams const & runparams) const;
-
- /// This signal is emitted when the inset is destroyed.
- boost::signal<void()> * destroyedSignal() { return &destroyed; }
-
- /// draw four angular markers
- void drawMarkers(PainterInfo & pi, int x, int y) const;
- /// draw two angular markers
- void drawMarkers2(PainterInfo & pi, int x, int y) const;
///
bool setMouseHover(bool mouse_hover);
+ ///
+ bool mouseHovered() const { return mouse_hover_; }
protected:
///
bool lock_;
///
bool mouse_hover_;
-
-private:
- /// This signal is emitted when the inset is destroyed.
- boost::signal<void()> destroyed;
};