]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sizeinset.h
oh well
[lyx.git] / src / mathed / math_sizeinset.h
index fa23904ea5f140ff3b405b889660fa1857d48f76..048ffd498a5a8b55195059d200430e0cbeeb68da 100644 (file)
 #endif
 
 /** An inset for \scriptsize etc
-    \author André Poenitz
+    \author André Pönitz
 */
 
+class latexkeys;
+
 class MathSizeInset : public MathNestInset {
 public:
        ///
-       explicit MathSizeInset(MathStyles st);
+       explicit MathSizeInset(latexkeys const * l);
        ///
        MathInset * clone() const;
        ///
-       void metrics(MathStyles st) const;
+       void metrics(MathMetricsInfo const & st) const;
        ///
        void draw(Painter &, int x, int y) const;
        ///
-       void write(std::ostream &, bool fragile) const;
+       bool needsBraces() const { return false; }
+
+       ///
+       void write(WriteStream & os) const;
        ///
-       void writeNormal(std::ostream &) const;
+       void normalize(NormalStream &) const;
 
 private:
        ///
-       char const * verbose() const;
-       /// 
-       MathStyles style_;
+       latexkeys const * key_;
 };
 
 #endif