lyx_mirror/src/mathed/math_frameboxinset.h

34 lines
624 B
C
Raw Normal View History

// -*- C++ -*-
#ifndef MATH_FRAMEBOXINSET_H
#define MATH_FRAMEBOXINSET_H
#include "math_nestinset.h"
/** Extra nesting
* \author Andr<EFBFBD> P<EFBFBD>nitz
*
* Full author contact details are available in file CREDITS
*/
class MathFrameboxInset : public MathNestInset {
public:
///
MathFrameboxInset();
///
MathInset * clone() const;
///
void metrics(MathMetricsInfo & mi) const;
///
void draw(MathPainterInfo & pi, int x, int y) const;
///
void write(WriteStream & os) const;
/// write normalized content
void normalize(NormalStream & ns) const;
private:
/// width of '[' in current font
mutable int w_;
};
#endif