]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_notinset.h
enable direct input of #1...#9; some whitespace changes
[lyx.git] / src / mathed / math_notinset.h
index 917e5bb7ff2b0e452c34699c7ef2eb5b7f19c489..70470764b3d34b46177a1761bc0cd90efac3d7c8 100644 (file)
@@ -4,8 +4,6 @@
 
 #include "math_diminset.h"
 
-struct latexkeys;
-
 // \\not
 
 class MathNotInset : public MathDimInset {
@@ -15,12 +13,15 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void write(std::ostream &, bool fragile) const;
+       void write(WriteStream & os) const;
        ///
-       void writeNormal(std::ostream &) const;
+       void normalize(NormalStream &) const;
        ///
-       void metrics(MathStyles st) const;
+       void metrics(MathMetricsInfo const & st) const;
        ///
        void draw(Painter &, int x, int y) const;
+private:
+       ///
+       mutable MathMetricsInfo mi_;
 };
 #endif