]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_undersetinset.h
more IU
[lyx.git] / src / mathed / math_undersetinset.h
index a673a74781203e877fd63179254f121216acfa8f..7886a2842320a6307682c9c98ec7b8198b0916f1 100644 (file)
@@ -1,27 +1,35 @@
 // -*- C++ -*-
+/**
+ * \file math_undersetinset.h
+ * 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.
+ */
+
 #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();
+       std::auto_ptr<InsetBase> clone() const;
        ///
-       MathInset * clone() const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void metrics(MathMetricsInfo & st) const;
+       void draw(PainterInfo & pi, int x, int y) const;
        ///
-       void draw(MathPainterInfo &, int x, int y) const;
-
+       bool idxFirst(idx_type & idx, pos_type & pos) const;
+       ///
+       bool idxLast(idx_type & idx, pos_type & pos) const;
+       ///
+       bool idxUpDown(idx_type & idx, pos_type & pos, bool up, int targetx) const;
        ///
        void write(WriteStream & os) const;
        ///