Improve support for node iteration in the internal API
authorSimon Hausmann <simon.hausmann@digia.com>
Fri, 8 Aug 2014 10:10:44 +0000 (12:10 +0200)
committerSimon Hausmann <simon.hausmann@digia.com>
Fri, 8 Aug 2014 18:06:57 +0000 (20:06 +0200)
commit268833784bf10715ded1bdfa0d61fc6c67343c16
treed3d4d1a60e26519c7ad50bf5e900c62f1ac81272
parenta0dfd5e52603f6846b46bcdd80e0ca8008a31d2a
Improve support for node iteration in the internal API

Added a new node visitor that allows easier traversal of the specialized
node types such as the image or rectangle nodes.

Change-Id: I45a7d3e1513b4a4db9d07998a6bcee9eba34044e
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/quick/scenegraph/coreapi/qsgnode.cpp
src/quick/scenegraph/coreapi/qsgnode.h
src/quick/scenegraph/qsgadaptationlayer.cpp
src/quick/scenegraph/qsgadaptationlayer_p.h