diff options
author | Benjamin Otte <otte@redhat.com> | 2012-10-02 11:31:36 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-10-02 14:16:36 +0200 |
commit | 558ffc24c216ceed593458a00250572d220b89a0 (patch) | |
tree | fb2ec632971a0fc786f26ae86297647ab9fa24c9 /gtk/gtkcssimageprivate.h | |
parent | 25271fe781df135b72c9e95a6551d6f4017d9c1b (diff) | |
download | gtk+-558ffc24c216ceed593458a00250572d220b89a0.tar.gz |
cssimage: Make image transition a vfunc
Diffstat (limited to 'gtk/gtkcssimageprivate.h')
-rw-r--r-- | gtk/gtkcssimageprivate.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/gtkcssimageprivate.h b/gtk/gtkcssimageprivate.h index 4b8362b0de..e0b7465b50 100644 --- a/gtk/gtkcssimageprivate.h +++ b/gtk/gtkcssimageprivate.h @@ -61,6 +61,11 @@ struct _GtkCssImageClass GtkCssComputedValues *values, GtkCssComputedValues *parent_values, GtkCssDependencies *dependencies); + /* transition between start and end image (end may be NULL), returns new reference */ + GtkCssImage *(* transition) (GtkCssImage *start, + GtkCssImage *end, + guint property_id, + double progress); /* draw to 0,0 with the given width and height */ void (* draw) (GtkCssImage *image, @@ -90,6 +95,10 @@ GtkCssImage * _gtk_css_image_compute (GtkCssImage * GtkCssComputedValues *values, GtkCssComputedValues *parent_values, GtkCssDependencies *dependencies); +GtkCssImage * _gtk_css_image_transition (GtkCssImage *start, + GtkCssImage *end, + guint property_id, + double progress); void _gtk_css_image_draw (GtkCssImage *image, cairo_t *cr, |