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

Method queueDrawArea

dw/widget.cc:297–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297void Widget::queueDrawArea (int x, int y, int width, int height)
298{
299 /** \todo Maybe only the intersection? */
300
301 DBG_OBJ_ENTER ("draw", 0, "queueDrawArea", "%d, %d, %d, %d",
302 x, y, width, height);
303
304 _MSG("Widget::queueDrawArea alloc(%d %d %d %d) wid(%d %d %d %d)\n",
305 allocation.x, allocation.y,
306 allocation.width, allocation.ascent + allocation.descent,
307 x, y, width, height);
308 if (layout)
309 layout->queueDraw (x + allocation.x, y + allocation.y, width, height);
310
311 DBG_OBJ_LEAVE ();
312}
313
314/**
315 * \brief This method should be called, when a widget changes its size.

Callers 2

drawMethod · 0.80
drawMethod · 0.80

Calls 1

queueDrawMethod · 0.45

Tested by

no test coverage detected