MCPcopy Create free account
hub / github.com/dillo-browser/dillo / drawInterruption

Method drawInterruption

dw/widget.cc:213–221  ·  view source on GitHub ↗

* See \ref dw-interrupted-drawing for details. */

Source from the content-addressed store, hash-verified

211 * See \ref dw-interrupted-drawing for details.
212 */
213void Widget::drawInterruption (View *view, Rectangle *area,
214 DrawingContext *context)
215{
216 Rectangle thisArea;
217 if (intersects (layout->topLevel, context->getToplevelArea (), &thisArea))
218 draw (view, &thisArea, context);
219
220 context->addWidgetProcessedAsInterruption (this);
221}
222
223Widget *Widget::getWidgetAtPoint (int x, int y,
224 GettingWidgetAtPointContext *context)

Callers 1

drawLevelMethod · 0.80

Calls 2

getToplevelAreaMethod · 0.80

Tested by

no test coverage detected