]> git.lyx.org Git - lyx.git/blob - src/mathed/math_fboxinset.h
introduce namespace lyx::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 "metricsinfo.h"
7
8
9 /** Extra nesting
10  *  \author André Pönitz
11  *
12  * Full author contact details are available in file CREDITS
13 */
14
15 class latexkeys;
16
17 class MathFboxInset : public MathNestInset {
18 public:
19         ///
20         MathFboxInset(latexkeys const * key);
21         ///
22         InsetBase * clone() const;
23         ///
24         mode_type currentMode() const;
25         ///
26         void metrics(MetricsInfo & mi, Dimension & dim) const;
27         ///
28         void draw(PainterInfo & pi, int x, int y) const;
29         ///
30         void write(WriteStream & os) const;
31         /// write normalized content
32         void normalize(NormalStream & ns) const;
33 private:
34         ///
35         latexkeys const * key_;
36 };
37
38 #endif