]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSize.h
Avoid full metrics computation with Update:FitCursor
[lyx.git] / src / mathed / InsetMathSize.h
index 6d0f52f80aebf46bfaea7fccb56fbc7629ed936c..7073f5da15b3ba40515a26093f477a3cf9a47c49 100644 (file)
 #ifndef MATHSIZEINSET_H
 #define MATHSIZEINSET_H
 
+#include "FontEnums.h"
 #include "InsetMathNest.h"
-#include "MetricsInfo.h"
 
 
 namespace lyx {
 
 
 class latexkeys;
+class MetricsInfo;
 
 /// An inset for \scriptsize etc.
 class InsetMathSize : public InsetMathNest {
@@ -34,13 +35,13 @@ public:
        void draw(PainterInfo &, int x, int y) const override;
 
        ///
-       void write(WriteStream & os) const override;
+       void write(TeXMathStream & os) const override;
        ///
        void normalize(NormalStream &) const override;
        ///
        void infoize(odocstream & os) const override;
        ///
-       void mathmlize(MathStream &) const override;
+       void mathmlize(MathMLStream &) const override;
        ///
        void htmlize(HtmlStream &) const override;
        ///