summaryrefslogtreecommitdiff
path: root/gsk/gskenums.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-12-13 05:49:57 +0100
committerBenjamin Otte <otte@redhat.com>2016-12-20 18:01:10 +0100
commit07d39299ead9d936c05242d2aab664b7112c3070 (patch)
tree34e395706c1ebc2c9cb665e99d9a86b4d8f58097 /gsk/gskenums.h
parent671d43b873770eb70f98050ab2a918a704199063 (diff)
downloadgtk+-07d39299ead9d936c05242d2aab664b7112c3070.tar.gz
gsk: Replace gsk_render_node_set_opacity()
... with gsk_opacity_node_new(). Also implement support for opacity in gtk_widget_snapshot() using this new node.
Diffstat (limited to 'gsk/gskenums.h')
-rw-r--r--gsk/gskenums.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gsk/gskenums.h b/gsk/gskenums.h
index 579e3d9c50..caba77f6ab 100644
--- a/gsk/gskenums.h
+++ b/gsk/gskenums.h
@@ -31,6 +31,7 @@
* @GSK_TEXTURE_NODE: A node drawing a #GskTexture
* @GSK_TRANSFORM_NODE: A node that renders its child after applying a
* matrix transform
+ * @GSK_OPACITY_NODE: A node that changes the opacity of its child
*
* The type of a node determines what the node is rendering.
*
@@ -42,7 +43,8 @@ typedef enum {
GSK_CAIRO_NODE,
GSK_COLOR_NODE,
GSK_TEXTURE_NODE,
- GSK_TRANSFORM_NODE
+ GSK_TRANSFORM_NODE,
+ GSK_OPACITY_NODE
} GskRenderNodeType;
/**