]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sizeinset.h
forward search in math insets. ugly. seems to work. don't ask why.
[lyx.git] / src / mathed / math_sizeinset.h
index 15f2b1d031fca6c4a39dc64c4f8123249e7f74f6..9fefc55db01cc0962719f0b98e5688a8cfc483a5 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;
+       void write(WriteStream & os) const;
        ///
-       void writeNormal(std::ostream &) const;
+       void normalize(NormalStream &) const;
 
 private:
-       ///
-       char const * name() const;
        /// 
-       MathStyles style_;
+       latexkeys const * key_;
 };
 
 #endif