]> git.lyx.org Git - lyx.git/blob - src/mathed/math_fboxinset.h
partial framebox support
[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 latexkeys;
17
18 class MathFboxInset : public MathNestInset {
19 public:
20         ///
21         MathFboxInset(latexkeys const * key);
22         ///
23         MathInset * clone() const;
24         ///
25         mode_type currentMode() const;
26         ///
27         void metrics(MathMetricsInfo & mi) const;
28         ///
29         void draw(MathPainterInfo & pi, int x, int y) const;
30         ///
31         void write(WriteStream & os) const;
32         /// write normalized content
33         void normalize(NormalStream & ns) const;
34 private:
35         ///
36         latexkeys const * key_;
37 };
38
39 #endif