diff options
author | Sebastian Geerken <devnull@localhost> | 2013-08-16 18:17:47 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-08-16 18:17:47 +0200 |
commit | a5e77bdac14a79d6c8a09a6db8f1a2307b1537f3 (patch) | |
tree | c00e1260cd8328e35295afe30e0ae451d3b7a8a0 /dw/iterator.hh | |
parent | 183e15f49625b3a15a9b2e511970c988d7164c23 (diff) |
Fixed a bug in DeepIterator (level calculation should regard generators).
Diffstat (limited to 'dw/iterator.hh')
-rw-r--r-- | dw/iterator.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dw/iterator.hh b/dw/iterator.hh index 44cb6042..abf31d0b 100644 --- a/dw/iterator.hh +++ b/dw/iterator.hh @@ -170,11 +170,17 @@ private: bool hasContents; inline DeepIterator () { } + static Widget *getRespectiveParent (Widget *widget, Content::Type mask); inline Widget *getRespectiveParent (Widget *widget) { return getRespectiveParent (widget, mask); } + static int getRespectiveLevel (Widget *widget, Content::Type mask); + inline int getRespectiveLevel (Widget *widget) { + return getRespectiveLevel (widget, mask); + } + public: DeepIterator(Iterator *it); ~DeepIterator(); |