]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFrameBox.h
* the old cursor is stored before dispatch and then used after moving
[lyx.git] / src / mathed / InsetMathFrameBox.h
index 7488f8f671fdd78c748c8f37b62d7cf200f64bfe..fc38c0bd262f811ade9daae2f64320369b30e25f 100644 (file)
 #include "InsetMathNest.h"
 
 
+namespace lyx {
+
+
 /// Extra nesting
 class InsetMathFrameBox : public InsetMathNest {
 public:
        ///
        InsetMathFrameBox();
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -31,9 +34,12 @@ public:
        ///
        mode_type currentMode() const { return TEXT_MODE; }
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        /// width of '[' in current font
        mutable int w_;
 };
 
+
+
+} // namespace lyx
 #endif