]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBoxed.h
* the old cursor is stored before dispatch and then used after moving
[lyx.git] / src / mathed / InsetMathBoxed.h
index a2fe36892b3ce0a72609c4efbc77d2f2add95273..078a32a8774707abeaa390d8d116e489fe9c3e39 100644 (file)
@@ -15,6 +15,9 @@
 #include "InsetMathNest.h"
 
 
+namespace lyx {
+
+
 /// Non-AMS-style frame
 class InsetMathBoxed : public InsetMathNest {
 public:
@@ -23,7 +26,7 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
        ///
-       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:
        /// write normalized content
        void normalize(NormalStream & ns) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 };
 
+
+} // namespace lyx
+
 #endif