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