]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFontOld.h
* up/down jumps between macro parameters
[lyx.git] / src / mathed / InsetMathFontOld.h
index 463f1c67af6f18daa4367f664d36fab9a727c19e..f0d9d79f57a617e68fa54be848d8e5ec51788b56 100644 (file)
@@ -30,7 +30,7 @@ public:
        /// we write extra braces in any case...
        bool extraBraces() const { return true; }
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -42,10 +42,12 @@ public:
        ///
        void normalize(NormalStream &) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
+       ///
+       int kerning() const { return cell(0).kerning(); }
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        /// the font to be used on screen
        latexkeys const * key_;
 };