Commit 020857e3 authored by Timm Bäder's avatar Timm Bäder 👎

widget: Add transform matrix

Unused for now.
parent fb444919
......@@ -2850,6 +2850,8 @@ gtk_widget_init (GTypeInstance *instance, gpointer g_class)
break;
}
graphene_matrix_init_identity (&priv->transform);
/* this will be set to TRUE if the widget gets a child or if the
* expand flag is set on the widget, but until one of those happen
* we know the expand is already properly FALSE.
......
......@@ -144,6 +144,8 @@ struct _GtkWidgetPrivate
GtkAllocation allocation;
gint allocated_baseline;
graphene_matrix_t transform;
/* The widget's requested sizes */
SizeRequestCache requests;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment