X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finseterror.h;h=06525a0356c996589b2ece020c9e10e1037f98de;hb=62be565337f08855dbbbeea9d90db2ce497d4c10;hp=e24aa22bd2b8eb5d383b979b960d56a69e256659;hpb=cda53633ff3a06b87889f37e9fb5b905dec4c80d;p=lyx.git diff --git a/src/insets/inseterror.h b/src/insets/inseterror.h index e24aa22bd2..06525a0356 100644 --- a/src/insets/inseterror.h +++ b/src/insets/inseterror.h @@ -12,7 +12,6 @@ #ifndef INSET_ERROR_H #define INSET_ERROR_H - #include "inset.h" #include "LString.h" @@ -29,13 +28,11 @@ public: /// ~InsetError(); /// - int ascent(BufferView *, LyXFont const &) const; - /// - int descent(BufferView *, LyXFont const &) const; + virtual dispatch_result localDispatch(FuncRequest const & cmd); /// - int width(BufferView *, LyXFont const &) const; + void dimension(BufferView *, LyXFont const &, Dimension &) const; /// - void draw(BufferView *, LyXFont const &, int, float &, bool) const; + void draw(BufferView *, LyXFont const &, int, float &) const; /// void write(Buffer const *, std::ostream &) const {} /// @@ -53,10 +50,6 @@ public: /// what appears in the minibuffer when opening string const editMessage() const; /// - void edit(BufferView *, int, int, mouse_button::state); - /// - void edit(BufferView * bv, bool front = true); - /// EDITABLE editable() const { return IS_EDITABLE; } /// Inset * clone(Buffer const &, bool same_id = false) const {