aboutsummaryrefslogtreecommitdiff
path: root/dw/widget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/widget.cc')
-rw-r--r--dw/widget.cc21
1 files changed, 0 insertions, 21 deletions
diff --git a/dw/widget.cc b/dw/widget.cc
index 8f5bc5d5..5f6bb2c0 100644
--- a/dw/widget.cc
+++ b/dw/widget.cc
@@ -130,9 +130,6 @@ void Widget::queueResize (int ref, bool extremesChanged)
{
Widget *widget2, *child;
- //printf("The %stop-level %s %p with parentRef = %d has changed its size.\n",
- // parent ? "non-" : "", getClassName(), this, parentRef);
-
setFlags (NEEDS_RESIZE);
setFlags (NEEDS_ALLOCATE);
markSizeChange (ref);
@@ -149,11 +146,6 @@ void Widget::queueResize (int ref, bool extremesChanged)
widget2->markSizeChange (child->parentRef);
widget2->setFlags (NEEDS_ALLOCATE);
- //printf (" Setting DW_NEEDS_RESIZE and NEEDS_ALLOCATE for the "
- // "%stop-level %s %p with parentRef = %d\n",
- // widget2->parent ? "non-" : "", widget2->getClassName(), widget2,
- // widget2->parentRef);
-
if (extremesChanged) {
widget2->setFlags (EXTREMES_CHANGED);
widget2->markExtremesChange (child->parentRef);
@@ -220,15 +212,6 @@ void Widget::sizeAllocate (Allocation *allocation)
allocation->ascent != this->allocation.ascent ||
allocation->descent != this->allocation.descent) {
- //DEBUG_MSG (DEBUG_ALLOC,
- // "a %stop-level %s with parent_ref = %d is newly allocated "
- // "from %d, %d, %d x %d x %d ...\n",
- // widget->parent ? "non-" : "",
- // (GTK_OBJECT_TYPE_NAME (widget), widget->parent_ref,
- // widget->allocation.x, widget->allocation.y,
- // widget->allocation.width, widget->allocation.ascent,
- // widget->allocation.descent);
-
if (wasAllocated ()) {
layout->queueDrawExcept (
this->allocation.x,
@@ -513,10 +496,6 @@ Widget *Widget::getWidgetAtPoint (int x, int y, int level)
Iterator *it;
Widget *childAtPoint;
- //printf ("%*s-> examining the %s %p (%d, %d, %d x (%d + %d))\n",
- // 3 * level, "", getClassName (), this, allocation.x, allocation.y,
- // allocation.width, allocation.ascent, allocation.descent);
-
if (x >= allocation.x &&
y >= allocation.y &&
x <= allocation.x + allocation.width &&