This commit was manufactured by cvs2svn to create tag 'lyx-1_3_5'.
[lyx.git] / src / mathed / math_frameboxinset.h
blobf9b2a93cacabaece744052f05c11fbc730beb12d
1 // -*- C++ -*-
2 #ifndef MATH_FRAMEBOXINSET_H
3 #define MATH_FRAMEBOXINSET_H
5 #include "math_nestinset.h"
7 #ifdef __GNUG__
8 #pragma interface
9 #endif
11 /** Extra nesting
12 * \author André Pönitz
14 * Full author contact details are available in file CREDITS
17 class MathFrameboxInset : public MathNestInset {
18 public:
19 ///
20 MathFrameboxInset();
21 ///
22 MathInset * clone() const;
23 ///
24 void metrics(MathMetricsInfo & mi) const;
25 ///
26 void draw(MathPainterInfo & pi, int x, int y) const;
27 ///
28 void write(WriteStream & os) const;
29 /// write normalized content
30 void normalize(NormalStream & ns) const;
31 ///
32 mode_type currentMode() const { return TEXT_MODE; }
33 private:
34 /// width of '[' in current font
35 mutable int w_;
38 #endif