]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_nestinset.h
use stream-like syntax for LaTeX output
[lyx.git] / src / mathed / math_nestinset.h
index b6156e0a3e91f3b0a445f7866423fda135e62227..8bf33e0038ad0aba5e594121dc47237236e6b557 100644 (file)
@@ -19,11 +19,13 @@ public:
        explicit MathNestInset(idx_type ncells);
 
        ///
-       void metrics(MathStyles st) const;
+       void metrics(MathMetricsInfo const & st) const;
        /// draw the object, sets xo_ and yo_ cached values 
        void draw(Painter &, int x, int y) const;
        /// appends itself with macro arguments substituted
        void substitute(MathMacro const & macro); 
+       /// identifies NestInsets
+       MathNestInset * asNestInset() { return this; }
 
        /// The left key
        bool idxLeft(idx_type & idx, pos_type & pos) const;
@@ -60,7 +62,7 @@ public:
        ///
        bool isActive() const { return nargs() > 0; }
        ///
-       void push_back(MathInset *);
+       void push_back(MathAtom const &);
        ///
        void dump() const;