]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_diminset.C
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_diminset.C
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..c2d0f9b404879a14c88dc13cd11cafa8169e3721 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_.wid = int(os.str().size());
+       dim_.asc = 1;
+       dim_.des = 0;
+*/
+}
+
+
+void MathDimInset::drawT(TextPainter &, int, int) const
+{
+/*
+       std::ostringstream os;
+       os << MathAtom(this);
+       pain.draw(x, y, STRCONV(os.str()));
+*/
+}