bool MathFuncLimInset::isScriptable() const
{
- return size_ == LM_ST_DISPLAY;
+ return size_.size == LM_ST_DISPLAY;
}
-void MathFuncLimInset::write(ostream & os, bool /* fragile */) const
+void MathFuncLimInset::write(MathWriteInfo & os) const
{
os << '\\' << sym_->name << ' ';
}
}
-void MathFuncLimInset::metrics(MathStyles st) const
+void MathFuncLimInset::metrics(MathMetricsInfo const & st) const
{
- size(st);
- mathed_string_dim(LM_TC_TEXTRM, size(), sym_->name, ascent_, descent_, width_);
+ size_ = st;
+ mathed_string_dim(LM_TC_TEXTRM, size_.size, sym_->name,
+ ascent_, descent_, width_);
}
{
xo(x);
yo(y);
- drawStr(pain, LM_TC_TEXTRM, size_, x, y, sym_->name);
+ drawStr(pain, LM_TC_TEXTRM, size_.size, x, y, sym_->name);
}