aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-08-14 23:29:20 +0200
committerSebastian Geerken <devnull@localhost>2014-08-14 23:29:20 +0200
commitf267370ee175d5ffcfcdd3830ba6edc4e5eeb4b1 (patch)
treec129f4727e511fab9702f50ff3d4c99e52eef7b1
parent2aee419ce0ba8f0d852235e63f6e8885e7244bcf (diff)
RTFL.
-rw-r--r--dw/outofflowmgr.cc2
-rw-r--r--dw/table.cc4
-rw-r--r--dw/textblock.cc2
3 files changed, 5 insertions, 3 deletions
diff --git a/dw/outofflowmgr.cc b/dw/outofflowmgr.cc
index 3b588a49..dd11aa3f 100644
--- a/dw/outofflowmgr.cc
+++ b/dw/outofflowmgr.cc
@@ -1788,7 +1788,7 @@ void OutOfFlowMgr::getFloatsExtremes (Extremes *cbExtr, Side side,
*minWidth = *maxWidth = 0;
SortedFloatsVector *list = getFloatsListForTextblock (containingBlock, side);
-
+ DBG_OBJ_MSGF ("resize.oofm", 1, "%d floats to be examined", list->size());
for (int i = 0; i < list->size(); i++) {
Float *vloat = list->get(i);
diff --git a/dw/table.cc b/dw/table.cc
index 42963ba0..9922543f 100644
--- a/dw/table.cc
+++ b/dw/table.cc
@@ -157,7 +157,9 @@ void Table::getExtremesImpl (core::Extremes *extremes)
void Table::sizeAllocateImpl (core::Allocation *allocation)
{
- DBG_OBJ_ENTER0 ("resize", 0, "sizeAllocateImpl");
+ DBG_OBJ_ENTER ("resize", 0, "sizeAllocateImpl", "%d, %d; %d * (%d + %d)",
+ allocation->x, allocation->y, allocation->width,
+ allocation->ascent, allocation->descent);
calcCellSizes (true);
diff --git a/dw/textblock.cc b/dw/textblock.cc
index 1f54b52a..29296f50 100644
--- a/dw/textblock.cc
+++ b/dw/textblock.cc
@@ -703,7 +703,7 @@ void Textblock::sizeAllocateImpl (core::Allocation *allocation)
int Textblock::getAvailWidthOfChild (Widget *child, bool forceValue)
{
- DBG_OBJ_ENTER ("resize", 0, "Textblock//getAvailWidthOfChild", "%p, %s",
+ DBG_OBJ_ENTER ("resize", 0, "Textblock/getAvailWidthOfChild", "%p, %s",
child, forceValue ? "true" : "false");
int width = Widget::getAvailWidthOfChild (child, forceValue);