int const w = text_.width() + 2 * border_;
int const a = text_.ascent() + border_;
int const h = a + text_.descent() + border_;
- pi.pain.rectangle(x, y - a, (Wide() ? text_.maxwidth_ : w), h,
+ pi.pain.rectangle(x, y - a, (wide() ? text_.maxwidth_ : w), h,
frameColor());
}
}
int const w = text_.width() + 2 * border_;
int const a = text_.ascent() + border_;
int const h = a + text_.descent() + border_;
- pi.pain.fillRectangle(x, y - a, (Wide() ? text_.maxwidth_ : w), h,
+ pi.pain.fillRectangle(x, y - a, (wide() ? text_.maxwidth_ : w), h,
backgroundColor());
text_.drawSelection(pi, x, y);
}
{
return bv.coordCache().getInsets().has(this)
&& x >= xo(bv)
- && x <= xo(bv) + width() + (Wide() ? text_.maxwidth_ : 0)
+ && x <= xo(bv) + width() + (wide() ? text_.maxwidth_ : 0)
&& y >= yo(bv) - ascent()
&& y <= yo(bv) + descent();
}
///
InsetText(InsetText const &);
///
- bool Wide() const { return wide_inset_; }
+ bool wide() const { return wide_inset_; }
///
void setWide(bool wide_inset) { wide_inset_ = wide_inset; }
InsetText const * const in = inset->asTextInset();
// non-wide insets are painted completely. Recursive
bool tmp = refreshInside;
- if (!in || !in->Wide()) {
+ if (!in || !in->wide()) {
refreshInside = true;
lyxerr[Debug::PAINTING] << endl << "Paint inset fully" << endl;
}