diff options
author | Timm Bäder <mail@baedert.org> | 2018-07-21 13:51:05 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2019-02-14 06:57:22 +0100 |
commit | 020857e347bef6fa2121c833642aca83c07a98d8 (patch) | |
tree | b73975bbd3bb570207699a2ca55de8814de73597 | |
parent | fb444919267892e34903b2c304e8c2b2b46bb154 (diff) | |
download | gtk+-020857e347bef6fa2121c833642aca83c07a98d8.tar.gz |
widget: Add transform matrix
Unused for now.
-rw-r--r-- | gtk/gtkwidget.c | 2 | ||||
-rw-r--r-- | gtk/gtkwidgetprivate.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 9207a46b1d..8d785a56f2 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -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. diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h index 26c33ba0bc..ba23cbb599 100644 --- a/gtk/gtkwidgetprivate.h +++ b/gtk/gtkwidgetprivate.h @@ -144,6 +144,8 @@ struct _GtkWidgetPrivate GtkAllocation allocation; gint allocated_baseline; + graphene_matrix_t transform; + /* The widget's requested sizes */ SizeRequestCache requests; |