]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDiagram.h
Assure correct spacing of colored items in mathed
[lyx.git] / src / mathed / InsetMathDiagram.h
index 62b0efdea7ccad323ba5c36724898da7dec6b1f7..c7928ef57677818d5ea0d143df2c4bd30489f897 100644 (file)
@@ -13,7 +13,6 @@
 #ifndef MATH_DIAGRAM_H
 #define MATH_DIAGRAM_H
 
-#include "Length.h"
 #include "InsetMathGrid.h"
 
 
@@ -23,10 +22,12 @@ namespace lyx {
 class InsetMathDiagram : public InsetMathGrid {
 public:
        ///
-       InsetMathDiagram(Buffer * buf);
+       explicit InsetMathDiagram(Buffer * buf);
        ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
+       void draw(PainterInfo & pi, int x, int y) const;
+       ///
        InsetMathDiagram const * asDiagramInset() const { return this; }
        ///
        virtual int colsep() const;