]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_diminset.C
Jean-Marc's fix for wrong descent
[lyx.git] / src / mathed / math_diminset.C
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..6f35928e0660c7b281bed21b1449ad57ede97006 100644 (file)
@@ -0,0 +1,29 @@
+
+#include "math_diminset.h"
+#include "Lsstream.h"
+#include "textpainter.h"
+
+
+void MathDimInset::metricsT(TextMetricsInfo const &) const
+{
+#ifndef WITH_WARNINGS
+#warning temporarily disabled
+#endif
+/*
+       std::ostringstream os;
+       os << MathAtom(this);
+       dim_.w = int(os.str().size());
+       dim_.a = 1;
+       dim_.d = 0;
+*/
+}
+
+
+void MathDimInset::drawT(TextPainter &, int, int) const
+{
+/*
+       std::ostringstream os;
+       os << MathAtom(this);
+       pain.draw(x, y, STRCONV(os.str()));
+*/
+}