]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_notinset.h
first shot at preview. It crashes. Don't know why. To see it work a bit, change
[lyx.git] / src / mathed / math_notinset.h
index cc0dca081bad65389d3e4d58ac15145018dab8d2..c221ec0186d24a7bcb83f1696e3d077b855018f6 100644 (file)
@@ -13,12 +13,17 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void write(MathWriteInfo & os) const;
+       void write(WriteStream & os) const;
        ///
-       void writeNormal(std::ostream &) const;
+       void normalize(NormalStream & ns) const;
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void metrics(MathMetricsInfo & mi) const;
        ///
-       void draw(Painter &, int x, int y) const;
+       void draw(MathPainterInfo &, int x, int y) const;
+private:
+       ///
+       mutable LyXFont font_;
+       ///
+       mutable char char_;
 };
 #endif