]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_undersetinset.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / mathed / math_undersetinset.h
index 35ed008fee2a534be75c964506031d01a61dae2b..e9c5011e3f97bd74e1d576077dd77505e9c04261 100644 (file)
@@ -1,26 +1,28 @@
 // -*- C++ -*-
+
+/** Underset objects
+ *  \author André Pönitz
+ *
+ *  Full author contact details are available in file CREDITS
+ */
+
 #ifndef MATH_UNDERSETINSET_H
 #define MATH_UNDERSETINSET_H
 
-#include "math_fracbase.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "math_fracbase.h"
 
-/** Underset objects
-    \author André Pönitz
- */
+/// Inset for underset
 class MathUndersetInset : public MathFracbaseInset {
 public:
        ///
        MathUndersetInset();
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void draw(Painter &, int x, int y) const;
+       void draw(PainterInfo & pi, int x, int y) const;
 
        ///
        void write(WriteStream & os) const;