]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_nestinset.C
*duck*
[features.git] / src / mathed / math_nestinset.C
index 3983db44c710f11ae1cf94f0447a279cb8a7102e..b2d9655a433bf43b2c030ff03ae85b2567a1cadf 100644 (file)
@@ -145,11 +145,14 @@ void MathNestInset::dump() const
 }
 
 
-void MathNestInset::draw(MathPainterInfo & pi, int x, int y) const
+//void MathNestInset::draw(MathPainterInfo & pi, int x, int y) const
+void MathNestInset::draw(MathPainterInfo &, int, int) const
 {
+#if 0
        if (lock_)
                pi.pain.fillRectangle(x, y - ascent(), width(), height(),
                                        LColor::mathlockbg);
+#endif
 }
 
 
@@ -209,3 +212,12 @@ bool MathNestInset::isActive() const
 {
        return nargs() > 0;
 }
+
+
+MathArray MathNestInset::glue() const
+{
+       MathArray ar;
+       for (unsigned i = 0; i < nargs(); ++i)
+               ar.push_back(cell(i));
+       return ar;
+}