]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macroarg.h
fix typo that put too many include paths for most people
[lyx.git] / src / mathed / math_macroarg.h
index d0b4591966a454be65e4591dbbc33a70766b0687..cb45e631003c8f55b4ff0e146d5b8fbe9d25b1d2 100644 (file)
 class MathMacroArgument : public MathNestInset {
 public:
        ///
-       explicit MathMacroArgument(int);
+       explicit MathMacroArgument(int, MathTextCodes = LM_TC_MIN);
        ///
        MathInset * clone() const;
        ///
+       bool isActive() const { return false; }
+       ///
        void metrics(MathMetricsInfo const & st) const;
        ///
        void draw(Painter &, int x, int y) const;
        ///
-       void write(WriteStream & os) const;
+       void substitute(MathMacro const & macro);
+
        ///
        void normalize(NormalStream &) const;
        ///
-       void substitute(MathMacro const & macro);
-       ///
-       bool isActive() const { return false; }
+       void write(WriteStream & os) const;
 
 private:
        /// A number between 1 and 9
@@ -38,7 +39,9 @@ private:
        ///
        bool expanded_;
        ///
-       mutable MathMetricsInfo mi_;
+       mutable LyXFont font_;
+       ///
+       MathTextCodes code_;
 };
 
 #endif