]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_diminset.C
mathed uglyfication
[lyx.git] / src / mathed / math_diminset.C
index b851b75db950288c0a86e3c0f4d7770ad519fc8b..f1253db1921d28dd4fbffb904329bb8e01fd9da1 100644 (file)
@@ -1,11 +1,16 @@
+/**
+ * \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.
+ */
 
-#ifdef __GNUG__
-#pragma implementation 
-#endif
+#include <config.h>
 
 #include "math_diminset.h"
-#include "Lsstream.h"
-#include "textpainter.h"
 
 
 void MathDimInset::metricsT(TextMetricsInfo const &) const
@@ -16,9 +21,9 @@ void MathDimInset::metricsT(TextMetricsInfo const &) const
 /*
        std::ostringstream os;
        os << MathAtom(this);
-       dim_.w = int(os.str().size());
-       dim_.a = 1;
-       dim_.d = 0;
+       dim_.wid = int(os.str().size());
+       dim_.asc = 1;
+       dim_.des = 0;
 */
 }
 
@@ -28,6 +33,6 @@ void MathDimInset::drawT(TextPainter &, int, int) const
 /*
        std::ostringstream os;
        os << MathAtom(this);
-       pain.draw(x, y, os.str().c_str());
+       pain.draw(x, y, STRCONV(os.str()));
 */
 }