From ac5e277a71003ef01e049b1b2d6aea1c447146f3 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 10 Dec 2016 21:42:01 +0100 Subject: gsk: Add GskRenderNodeType For now, this is unused. --- gsk/gskenums.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gsk/gskenums.h') diff --git a/gsk/gskenums.h b/gsk/gskenums.h index 28d4dcafe7..9040c69cbf 100644 --- a/gsk/gskenums.h +++ b/gsk/gskenums.h @@ -22,6 +22,24 @@ #error "Only can be included directly." #endif +/** + * GskRenderNodeType: + * @GSK_NOT_A_RENDER_NODE: Error type. No node will ever have this type. + * @GSK_CONTAINER_NODE: A node containing a stack of children + * @GSK_CAIRO_NODE: A node drawing a #cairo_surface_t + * @GSK_TEXTURE_NODE: A node drawing a #GskTexture + * + * The type of a node determines what the node is rendering. + * + * Since: 3.90 + **/ +typedef enum { + GSK_NOT_A_RENDER_NODE = 0, + GSK_CONTAINER_NODE, + GSK_CAIRO_NODE, + GSK_TEXTURE_NODE +} GskRenderNodeType; + /** * GskScalingFilter: * @GSK_SCALING_FILTER_LINEAR: linear interpolation filter -- cgit v1.2.1