- uroot->draw(pain, x, y - dh);
- MathSqrtInset::draw(pain, x + wroot, y);
- idx = idxp;
-}
-
-
-void MathRootInset::SetStyle(short st)
-{
- MathSqrtInset::SetStyle(st);
-
- uroot->SetStyle((size() < LM_ST_SCRIPTSCRIPT) ? size() + 1 : size());
-}
-
-
-void MathRootInset::SetFocus(int x, int)
-{
- idx = (x > xo() + wroot) ? 1: 0;
-}
-
-
-void MathRootInset::Write(ostream & os, bool fragile)
-{
- os << '\\' << name << '[';
- uroot->Write(os, fragile);
- os << "]{";
- MathParInset::Write(os, fragile);
- os << '}';