]> git.lyx.org Git - lyx.git/blob - src/mathed/math_diminset.C
Standardise the header blurb in mathed.
[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 #include "Lsstream.h"
15 #include "textpainter.h"
16
17
18 void MathDimInset::metricsT(TextMetricsInfo const &) const
19 {
20 #ifndef WITH_WARNINGS
21 #warning temporarily disabled
22 #endif
23 /*
24         std::ostringstream os;
25         os << MathAtom(this);
26         dim_.wid = int(os.str().size());
27         dim_.asc = 1;
28         dim_.des = 0;
29 */
30 }
31
32
33 void MathDimInset::drawT(TextPainter &, int, int) const
34 {
35 /*
36         std::ostringstream os;
37         os << MathAtom(this);
38         pain.draw(x, y, STRCONV(os.str()));
39 */
40 }