///
~InsetFormulaMacro();
///
- int ascent(Painter &, LyXFont const &) const;
+ int ascent(BufferView *, LyXFont const &) const;
///
- int descent(Painter &, LyXFont const &) const;
+ int descent(BufferView *, LyXFont const &) const;
///
- int width(Painter &, LyXFont const &) const;
+ int width(BufferView *, LyXFont const &) const;
///
- void draw(Painter &, LyXFont const &, int baseline, float & x) const;
+ void draw(BufferView *,LyXFont const &, int, float &, bool) const;
///
void Read(Buffer const *, LyXLex & lex);
///
///
int DocBook(Buffer const *, std::ostream &) const;
///
- Inset * Clone() const;
-
+ Inset * Clone(Buffer const &) const;
+ ///
+ Inset::Code LyxCode() const { return Inset::MATHMACRO_CODE; }
/// what appears in the minibuffer when opening
- char const * EditMessage() const;
+ string const EditMessage() const;
///
void Edit(BufferView *, int x, int y, unsigned int button);
///
///
RESULT LocalDispatch(BufferView *, int, string const &);
-protected:
- ///
- //void UpdateLocal();
-
private:
///
bool opened;