#ifndef INSET_ERROR_H
#define INSET_ERROR_H
-
#include "inset.h"
#include "LString.h"
///
~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 {}
///
void read(Buffer const *, LyXLex &) {}
///
- int latex(Buffer const *, std::ostream &, bool, bool) const { return 0; }
+ int latex(Buffer const *, std::ostream &,
+ LatexRunParams const &) const { return 0; }
///
int ascii(Buffer const *, std::ostream &, int) const { return 0; }
///
/// 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 {