]> git.lyx.org Git - lyx.git/blob - src/mathed/InsetMathBM.h
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathBM.h
1 // -*- C++ -*-\r
2 /**\r
3  * \file InsetMathBM.h\r
4  * This file is part of LyX, the document processor.\r
5  * Licence details can be found in the file COPYING.\r
6  *\r
7  * \author Bernhard Roider\r
8  *\r
9  * Full author contact details are available in file CREDITS.\r
10  */\r
11 \r
12 #ifndef MATH_BMINSET_H\r
13 #define MATH_BMINSET_H\r
14 \r
15 #include "InsetMathNest.h"\r
16 \r
17 \r
18 namespace lyx {\r
19 \r
20 \r
21 /// Inset for \bm\r
22 class InsetMathBM : public InsetMathNest {\r
23 public:\r
24         ///\r
25         InsetMathBM();\r
26         ///\r
27         void metrics(MetricsInfo & mi, Dimension & dim) const;\r
28         ///\r
29         void draw(PainterInfo & pi, int x, int y) const;\r
30         ///\r
31         void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;\r
32         ///\r
33         void drawT(TextPainter & pi, int x, int y) const;\r
34         ///\r
35         void validate(LaTeXFeatures & features) const;\r
36         ///\r
37         void write(WriteStream & os) const;\r
38         ///\r
39         void infoize(odocstream & os) const;\r
40 private:\r
41         virtual Inset * clone() const;\r
42 };\r
43 \r
44 \r
45 } // namespace lyx\r
46 \r
47 #endif\r