]> git.lyx.org Git - lyx.git/blob - src/mathed/math_fboxinset.h
preview as preview can...
[lyx.git] / src / mathed / math_fboxinset.h
1 // -*- C++ -*-
2 #ifndef MATH_FBOXINSET_H
3 #define MATH_FBOXINSET_H
4
5 #include "math_nestinset.h"
6 #include "math_metricsinfo.h"
7
8 #ifdef __GNUG__
9 #pragma interface
10 #endif
11
12 /** Extra nesting
13     \author André Pönitz
14 */
15
16 class MathFboxInset : public MathNestInset {
17 public:
18         ///
19         MathFboxInset();
20         ///
21         MathInset * clone() const;
22         ///
23         MathFboxInset * asFboxInset() { return this; }
24         ///
25         void metrics(MathMetricsInfo & mi) const;
26         ///
27         void draw(MathPainterInfo &, int x, int y) const;
28         ///
29         void write(WriteStream & os) const;
30         /// write normalized content
31         void normalize(NormalStream & ns) const;
32 };
33
34 #endif