]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_inset.C
split super/subscript handling in new base class MathUpDownInset and
[features.git] / src / mathed / math_inset.C
index c17c9644f9a7b71bb6d10a12acfe14597b16dace..bc635a3a7b00917d3943e60c12dedaf916d87e4f 100644 (file)
@@ -70,12 +70,6 @@ void MathInset::limits(int)
 {
 }
 
-bool MathInset::hasLimits() const
-{
-       return false;
-}
-
-
 string const & MathInset::name() const
 {
        return name_;
@@ -172,12 +166,6 @@ MathArray const & MathInset::cell(int i) const
 }
 
 
-void MathInset::setData(MathArray const & a, int idx)
-{
-       cells_[idx].data_ = a;
-}
-
-
 void MathInset::substitute(MathArray & array, MathMacro const & m) const
 {
        MathInset * p = clone();
@@ -186,7 +174,7 @@ void MathInset::substitute(MathArray & array, MathMacro const & m) const
        array.push_back(p);
 }
 
-void MathInset::Metrics(MathStyles st)
+void MathInset::Metrics(MathStyles st, int, int)
 {
        size_ = st;
        for (int i = 0; i < nargs(); ++i)
@@ -373,4 +361,3 @@ bool MathInset::covers(int x, int y) const
                y >= yo_ - ascent_ &&
                y <= yo_ + descent_;
 }
-