]> git.lyx.org Git - lyx.git/blob - src/mathed/math_diminset.C
small up/down tweaking
[lyx.git] / src / mathed / math_diminset.C
1 #ifdef __GNUG__
2 #pragma implementation
3 #endif
4
5 #include "math_diminset.h"
6 #include "Lsstream.h"
7 #include "textpainter.h"
8
9
10 void MathDimInset::metricsT(TextMetricsInfo const &) const
11 {
12 #ifndef WITH_WARNINGS
13 #warning temporarily disabled
14 #endif
15 /*
16         std::ostringstream os;
17         os << MathAtom(this);
18         dim_.w = int(os.str().size());
19         dim_.a = 1;
20         dim_.d = 0;
21 */
22 }
23
24
25 void MathDimInset::drawT(TextPainter &, int, int) const
26 {
27 /*
28         std::ostringstream os;
29         os << MathAtom(this);
30         pain.draw(x, y, STRCONV(os.str()));
31 */
32 }