]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_numberinset.C
introduce namespace lyx::support
[lyx.git] / src / mathed / math_numberinset.C
index d7b35f2b048816862de3095094785f479c941089..423912308f4f5bdafc88871ff514c0bd8ab1cf52 100644 (file)
@@ -13,19 +13,19 @@ MathNumberInset::MathNumberInset(string const & s)
 {}
 
 
-MathInset * MathNumberInset::clone() const
+InsetBase * MathNumberInset::clone() const
 {
        return new MathNumberInset(*this);
 }
 
 
-void MathNumberInset::metrics(MathMetricsInfo & mi) const
+void MathNumberInset::metrics(MetricsInfo & mi, Dimension & dim) const
 {
-       mathed_string_dim(mi.base.font, str_, dim_);
+       mathed_string_dim(mi.base.font, str_, dim);
 }
 
 
-void MathNumberInset::draw(MathPainterInfo & pi, int x, int y) const
+void MathNumberInset::draw(PainterInfo & pi, int x, int y) const
 {
        //lyxerr << "drawing '" << str_ << "' code: " << code_ << endl;
        drawStr(pi, pi.base.font, x, y, str_);
@@ -38,13 +38,13 @@ void MathNumberInset::normalize(NormalStream & os) const
 }
 
 
-void MathNumberInset::maplize(MapleStream & os) const
+void MathNumberInset::maple(MapleStream & os) const
 {
        os << str_;
 }
 
 
-void MathNumberInset::octavize(OctaveStream & os) const
+void MathNumberInset::octave(OctaveStream & os) const
 {
        os << str_;
 }