| 295 | } |
| 296 | |
| 297 | void 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. |