]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_parboxinset.h
Add In nsetOld * argument to updateInset to rebreak the correct par.
[lyx.git] / src / mathed / math_parboxinset.h
index 56306d50d1eff8b97f87c1e1f182e4df7e38f390..6800cadf2150361013facfcfda7e5366bc68afbe 100644 (file)
@@ -1,9 +1,17 @@
+// -*- C++ -*-
+/**
+ * \file math_parboxinset.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_PARBOXINSET_H
 #define MATH_PARBOXINSET_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "math_textinset.h"
 
@@ -16,13 +24,13 @@ public:
        ///
        MathParboxInset * asParboxInset() { return this; }
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        mode_type currentMode() const { return TEXT_MODE; }
        ///
-       void metrics(MathMetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void draw(MathPainterInfo &, int x, int y) const;
+       void draw(PainterInfo &, int x, int y) const;
        ///
        void infoize(std::ostream & os) const;
        ///