diff options
author | Benjamin Otte <otte@redhat.com> | 2016-12-17 07:44:10 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-12-20 18:01:11 +0100 |
commit | 30438c6e8be4ca4a6142b4386f8596c6eb4068c8 (patch) | |
tree | 4b393400b5dfc46d3e13ffa6a6abbf41ee82e79f /gtk/inspector/gtktreemodelrendernode.c | |
parent | 3e4fd32b54a9df53749b339fff587bfc5aaafdc9 (diff) | |
download | gtk+-30438c6e8be4ca4a6142b4386f8596c6eb4068c8.tar.gz |
gsk: Add cross-fade node
And implement stack crossfades with it.
Diffstat (limited to 'gtk/inspector/gtktreemodelrendernode.c')
-rw-r--r-- | gtk/inspector/gtktreemodelrendernode.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/inspector/gtktreemodelrendernode.c b/gtk/inspector/gtktreemodelrendernode.c index 6ac5b3238b..fff0a06f41 100644 --- a/gtk/inspector/gtktreemodelrendernode.c +++ b/gtk/inspector/gtktreemodelrendernode.c @@ -555,6 +555,15 @@ append_node (GtkTreeModelRenderNode *nodemodel, } break; + case GSK_CROSS_FADE_NODE: + { + int elt_index = priv->nodes->len - 1; + + append_node (nodemodel, gsk_cross_fade_node_get_start_child (node), elt_index); + append_node (nodemodel, gsk_cross_fade_node_get_end_child (node), elt_index); + } + break; + case GSK_CONTAINER_NODE: { gint elt_index; |