]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDiagram.h
Update it.po
[lyx.git] / src / mathed / InsetMathDiagram.h
index 7ab099cec3cd76b60abc42baa53cd20bd6ad9a27..95e16e278023b45460be946c2f2b90c41b17d022 100644 (file)
@@ -13,7 +13,6 @@
 #ifndef MATH_DIAGRAM_H
 #define MATH_DIAGRAM_H
 
-#include "Length.h"
 #include "InsetMathGrid.h"
 
 
@@ -23,34 +22,34 @@ namespace lyx {
 class InsetMathDiagram : public InsetMathGrid {
 public:
        ///
-       InsetMathDiagram(Buffer * buf);
+       explicit InsetMathDiagram(Buffer * buf);
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const override;
+       ///
+       void draw(PainterInfo & pi, int x, int y) const override;
        ///
        InsetMathDiagram const * asDiagramInset() const { return this; }
        ///
-       virtual int colsep() const;
+       int colsep() const override;
        ///
-       virtual int rowsep() const;
+       int rowsep() const override;
 
        ///
-       void normalize();
-       ///
-       void write(WriteStream & os) const;
+       void write(TeXMathStream & os) const override;
        ///
-       void infoize(odocstream & os) const;
+       void infoize(odocstream & os) const override;
        ///
-       void normalize(NormalStream &) const;
+       void normalize(NormalStream &) const override;
        ///
-       void maple(MapleStream &) const;
+       void maple(MapleStream &) const override;
        ///
-       void validate(LaTeXFeatures & features) const;
+       void validate(LaTeXFeatures & features) const override;
        ///
-       InsetCode lyxCode() const { return MATH_DIAGRAM_CODE; }
+       InsetCode lyxCode() const override { return MATH_DIAGRAM_CODE; }
 
 private:
        ///
-       virtual Inset * clone() const;
+       Inset * clone() const override;
 
 };