]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_decorationinset.h
updates to latexfeatures stuff; allow empty \document_path
[lyx.git] / src / mathed / math_decorationinset.h
index a7a8effa821a2b15850cdf2655cb2461f42cd7ea..a0ff67b805e545869f940762a12f8e891ada2d21 100644 (file)
@@ -22,11 +22,11 @@ public:
        ///
        void draw(Painter &, int x, int y) const;
        ///
-       void write(MathWriteInfo & os) const;
+       void write(WriteStream & os) const;
        ///
        void metrics(MathMetricsInfo const & st) const;
        ///
-       void writeNormal(std::ostream & os) const;
+       void normalize(NormalStream & os) const;
        ///
        bool isScriptable() const;
 
@@ -44,5 +44,7 @@ private:
        mutable int dh_;
        /// vertical offset cache of deco
        mutable int dy_;
+       ///
+       mutable MathMetricsInfo size_;
 };
 #endif