]> 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 cf299013bcb5fd8f907f31af55b5475b5ed01fb3..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 {
@@ -31,16 +32,16 @@ public:
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const override;
        ///
-       void draw(PainterInfo &, int x, int y) const;
+       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;
        ///