summaryrefslogtreecommitdiff
path: root/dw/iterator.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-01-05 11:48:21 +0100
committerSebastian Geerken <devnull@localhost>2013-01-05 11:48:21 +0100
commit824cd84f321d358ab878b99cbaaef936823d8c8b (patch)
tree8eafc276a7adc25c4708e3d6806f0d6f387b0a77 /dw/iterator.cc
parentcdc11dcd40d57b07e73304d0f41ad5273d292874 (diff)
Debug messages.
Diffstat (limited to 'dw/iterator.cc')
-rw-r--r--dw/iterator.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/dw/iterator.cc b/dw/iterator.cc
index b6fde502..019d8e07 100644
--- a/dw/iterator.cc
+++ b/dw/iterator.cc
@@ -186,6 +186,15 @@ void Iterator::scrollTo (Iterator *it1, Iterator *it2, int start, int end,
}
}
+
+void Iterator::print ()
+{
+ printf ("in the %s %p, mask ", widget->getClassName(), widget);
+ Content::printMask (mask);
+ printf (", pointing at ");
+ Content::print (&content);
+}
+
// -------------------
// EmptyIterator
// -------------------