]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDecoration.h
We only support gcc >= 4.9.
[lyx.git] / src / mathed / InsetMathDecoration.h
index 3f3a54df9de40f433d430af1ee66e551c86e6077..e71b54b83db64466a6f767e5097d20da528b1c6b 100644 (file)
@@ -28,9 +28,9 @@ public:
        ///
        mode_type currentMode() 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 metrics(MetricsInfo & mi, Dimension & dim) const override;
        ///
@@ -39,8 +39,8 @@ public:
        void infoize(odocstream & os) const override;
        ///
        MathClass mathClass() const override;
-       /// The default limits value
-       Limits defaultLimits() const override { return allowsLimitsChange() ? LIMITS : NO_LIMITS; }
+       /// The default limits value in \c display style
+       Limits defaultLimits(bool display) const override;
        /// whether the inset has limit-like sub/superscript
        Limits limits() const override { return limits_; }
        /// sets types of sub/superscripts
@@ -50,7 +50,7 @@ public:
        ///
        InsetCode lyxCode() const override { return MATH_DECORATION_CODE; }
        ///
-       void mathmlize(MathStream &) const override;
+       void mathmlize(MathMLStream &) const override;
        ///
        void htmlize(HtmlStream &) const override;
 private: