]> git.lyx.org Git - lyx.git/blob - src/mathed/math_diminset.C
mathed uglyfication
[lyx.git] / src / mathed / math_diminset.C
1 /**
2  * \file math_diminset.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author André Pönitz
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "math_diminset.h"
14
15
16 void MathDimInset::metricsT(TextMetricsInfo const &) const
17 {
18 #ifndef WITH_WARNINGS
19 #warning temporarily disabled
20 #endif
21 /*
22         std::ostringstream os;
23         os << MathAtom(this);
24         dim_.wid = int(os.str().size());
25         dim_.asc = 1;
26         dim_.des = 0;
27 */
28 }
29
30
31 void MathDimInset::drawT(TextPainter &, int, int) const
32 {
33 /*
34         std::ostringstream os;
35         os << MathAtom(this);
36         pain.draw(x, y, STRCONV(os.str()));
37 */
38 }