]> git.lyx.org Git - lyx.git/blob - src/mathed/math_frameboxinset.h
small up/down tweaking
[lyx.git] / src / mathed / math_frameboxinset.h
1 // -*- C++ -*-
2 #ifndef MATH_FRAMEBOXINSET_H
3 #define MATH_FRAMEBOXINSET_H
4
5 #include "math_nestinset.h"
6
7 #ifdef __GNUG__
8 #pragma interface
9 #endif
10
11 /** Extra nesting
12  *  \author André Pönitz
13  *
14  * Full author contact details are available in file CREDITS
15 */
16
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 private:
32         /// width of '[' in current font
33         mutable int w_;
34 };
35
36 #endif