]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sizeinset.h
enable direct input of #1...#9; some whitespace changes
[lyx.git] / src / mathed / math_sizeinset.h
index 283e46da9d903b4714dbaff25f34af07f8820f02..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);
        ///
-       virtual MathInset * clone() const;
+       MathInset * clone() const;
        ///
-       void metrics(MathStyles st);
+       void metrics(MathMetricsInfo const & st) const;
        ///
-       void draw(Painter &, int x, int baseline);
+       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 * verbose() const;
        /// 
-       MathStyles style_;
+       latexkeys const * key_;
 };
 
 #endif