X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetminipage.h;h=fb6a72220d069556b786a483e8059ffa4cfc6559;hb=7521b5d20f42102cf444e3fd8718a088a60d0098;hp=14333f96fa9804c5afa786665f7490e1d13b2bd1;hpb=93dda00aac4957bda8590e6cad2716081c8eee7b;p=lyx.git diff --git a/src/insets/insetminipage.h b/src/insets/insetminipage.h index 14333f96fa..fb6a72220d 100644 --- a/src/insets/insetminipage.h +++ b/src/insets/insetminipage.h @@ -43,23 +43,23 @@ public: /// ~InsetMinipage(); /// - void Write(Buffer const * buf, std::ostream & os) const; + void write(Buffer const * buf, std::ostream & os) const; /// - void Read(Buffer const * buf, LyXLex & lex); + void read(Buffer const * buf, LyXLex & lex); /// - Inset * Clone(Buffer const &) const; + virtual Inset * clone(Buffer const &, bool same_id = false) const; /// int ascent(BufferView *, LyXFont const &) const; /// int descent(BufferView *, LyXFont const &) const; /// - Inset::Code LyxCode() const { return Inset::MINIPAGE_CODE; } + Inset::Code lyxCode() const { return Inset::MINIPAGE_CODE; } /// - int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const; + int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const; /// - string const EditMessage() const; + string const editMessage() const; /// - bool InsertInsetAllowed(Inset * inset) const; + bool insertInsetAllowed(Inset * inset) const; /// Position pos() const; /// @@ -77,19 +77,15 @@ public: /// void width(string const &); /// - int widthp() const; - /// - void widthp(int); - /// - void widthp(string const &); - /// SigC::Signal0 hideDialog; /// - void InsetButtonRelease(BufferView * bv, int x, int y, int button); + void insetButtonRelease(BufferView * bv, int x, int y, int button); /// - int getMaxWidth(Painter &, UpdatableInset const *) const; + int getMaxWidth(BufferView *, UpdatableInset const *) const; /// bool needFullRow() const { return false; } + /// + bool showInsetDialog(BufferView *) const; private: /// Position pos_; @@ -99,8 +95,6 @@ private: string height_; /// string width_; - /// - int widthp_; }; #endif