]> git.lyx.org Git - lyx.git/blob - src/mathed/math_frameboxinset.h
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[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
8 /** Extra nesting
9  *  \author André Pönitz
10  *
11  * Full author contact details are available in file CREDITS
12 */
13
14 class MathFrameboxInset : public MathNestInset {
15 public:
16         ///
17         MathFrameboxInset();
18         ///
19         MathInset * clone() const;
20         ///
21         void metrics(MathMetricsInfo & mi) const;
22         ///
23         void draw(MathPainterInfo & pi, int x, int y) const;
24         ///
25         void write(WriteStream & os) const;
26         /// write normalized content
27         void normalize(NormalStream & ns) const;
28         ///
29         mode_type currentMode() const { return TEXT_MODE; }
30 private:
31         /// width of '[' in current font
32         mutable int w_;
33 };
34
35 #endif