ET++: Stepping through the redraw of a changed ImageItem
The WindowPort handles the redraw by calling
WindowPort::UpdateRect()
for each invalid rectangle in its invalid region. In essence,
each previous call to VObject::InvalidateRect()
queued up a rectangular area for redraw, and this method iterates over this queue and
redraws all the rectangular areas.
void WindowPort::DevUpdate()
{
if (inval && inval->size > 0) {
OldRegion *old= inval;
inval= 0;
Rectangle *ir;
for (int i= 0; ir= old->GetAt(i); i++) {
UpdateRect(*ir);
GiveHint(eHintUnbatch, 0, 0);
}
delete old;
}
}
Back to the top of the invalidate/redraw description
Back to the top of the ET++ pages