2002-06-24 15:37:14 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
#ifndef MATH_FBOXINSET_H
|
|
|
|
|
#define MATH_FBOXINSET_H
|
|
|
|
|
|
|
|
|
|
#include "math_nestinset.h"
|
|
|
|
|
#include "math_metricsinfo.h"
|
|
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
|
#pragma interface
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/** Extra nesting
|
|
|
|
|
\author Andr<EFBFBD> P<EFBFBD>nitz
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
class MathFboxInset : public MathNestInset {
|
|
|
|
|
public:
|
|
|
|
|
///
|
|
|
|
|
MathFboxInset();
|
|
|
|
|
///
|
|
|
|
|
MathInset * clone() const;
|
|
|
|
|
///
|
2002-07-18 11:02:33 +00:00
|
|
|
|
mode_type currentMode() const { return TEXT_MODE; }
|
2002-06-24 15:37:14 +00:00
|
|
|
|
///
|
|
|
|
|
void metrics(MathMetricsInfo & mi) const;
|
|
|
|
|
///
|
|
|
|
|
void draw(MathPainterInfo &, int x, int y) const;
|
|
|
|
|
///
|
|
|
|
|
void write(WriteStream & os) const;
|
|
|
|
|
/// write normalized content
|
|
|
|
|
void normalize(NormalStream & ns) const;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|