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