-#include "math_diminset.h"
-#include "Lsstream.h"
-#include "textpainter.h"
+/**
+ * \file math_diminset.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+#include <config.h>
-void MathDimInset::dimensions(Dimension & dim) const
-{
- dim = dim_;
-}
+#include "math_diminset.h"
void MathDimInset::metricsT(TextMetricsInfo const &) const
{
+#ifndef WITH_WARNINGS
+#warning temporarily disabled
+#endif
+/*
std::ostringstream os;
- os << *this;
- dim_.w = int(os.str().size());
- dim_.a = 1;
- dim_.d = 0;
+ os << MathAtom(this);
+ dim_.wid = int(os.str().size());
+ dim_.asc = 1;
+ dim_.des = 0;
+*/
}
-void MathDimInset::drawT(TextPainter & pain, int x, int y) const
+void MathDimInset::drawT(TextPainter &, int, int) const
{
+/*
std::ostringstream os;
- os << *this;
- pain.draw(x, y, os.str().c_str());
+ os << MathAtom(this);
+ pain.draw(x, y, STRCONV(os.str()));
+*/
}