]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDiagram.h
Get rid of Inset::setPosCache
[lyx.git] / src / mathed / InsetMathDiagram.h
index 62b0efdea7ccad323ba5c36724898da7dec6b1f7..732cd4ee1b57d34bfd92d53d4928a7588d1a514d 100644 (file)
@@ -13,7 +13,6 @@
 #ifndef MATH_DIAGRAM_H
 #define MATH_DIAGRAM_H
 
-#include "Length.h"
 #include "InsetMathGrid.h"
 
 
@@ -27,6 +26,8 @@ public:
        ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
+       void draw(PainterInfo & pi, int x, int y) const;
+       ///
        InsetMathDiagram const * asDiagramInset() const { return this; }
        ///
        virtual int colsep() const;