]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_braceinset.h
oh well
[lyx.git] / src / mathed / math_braceinset.h
index b7ed9514ff8537e454e3c062ee0a9b86dfe75742..adebc05bb0125210305f2fb08995abc7a1ddac81 100644 (file)
@@ -9,7 +9,7 @@
 #pragma interface
 #endif
 
-/** Extra nesting 
+/** Extra nesting
     \author André Pönitz
 */
 
@@ -20,11 +20,13 @@ public:
        ///
        MathInset * clone() const;
        ///
+       MathBraceInset * asBraceInset() { return this; }
+       ///
        void draw(Painter &, int x, int y) const;
        ///
-       void write(MathWriteInfo & os) const;
+       void write(WriteStream & os) const;
        /// write normalized content
-       void writeNormal(std::ostream &) const;
+       void normalize(NormalStream &) const;
        ///
        void metrics(MathMetricsInfo const & st) const;
 
@@ -32,7 +34,7 @@ private:
        /// width of brace character
        mutable int wid_;
        ///
-       MathMetricsInfo mi_;
+       mutable LyXFont font_;
 };
 
 #endif