*
* LyX, The Document Processor
*
- * Copyright 1998 The LyX Team.
+ * Copyright 2001 The LyX Team.
*
- *======================================================
+ * ======================================================
*/
#ifndef InsetMinipage_H
///
Inset * Clone(Buffer const &) const;
///
+ int ascent(BufferView *, LyXFont const &) const;
+ ///
+ int descent(BufferView *, LyXFont const &) const;
+ ///
Inset::Code LyxCode() const { return Inset::MINIPAGE_CODE; }
///
int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
///
void width(string const &);
///
- int widthp() const;
- ///
- void widthp(int);
- ///
- void widthp(string const &);
- ///
SigC::Signal0<void> hideDialog;
///
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_;
string height_;
///
string width_;
- ///
- int widthp_;
};
#endif