diff options
author | Benjamin Otte <otte@redhat.com> | 2017-01-12 23:20:31 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-01-13 03:38:36 +0100 |
commit | bc3ba6864174a905d095a3a57a2cb0889d229d9e (patch) | |
tree | 75a6ef1649764191d468102930eaf7530e28500c /gtk/gtksnapshot.h | |
parent | 9616df9292de13341fb828ef4d7913d173825089 (diff) | |
download | gtk+-bc3ba6864174a905d095a3a57a2cb0889d229d9e.tar.gz |
snapshot: Add gtk_snapshot_push_blend()
and use it for backgrounds.
Diffstat (limited to 'gtk/gtksnapshot.h')
-rw-r--r-- | gtk/gtksnapshot.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtksnapshot.h b/gtk/gtksnapshot.h index 7ac7a43481..b59f32ce58 100644 --- a/gtk/gtksnapshot.h +++ b/gtk/gtksnapshot.h @@ -80,6 +80,11 @@ void gtk_snapshot_push_shadow (GtkSnapshot const char *name, ...) G_GNUC_PRINTF (4, 5); GDK_AVAILABLE_IN_3_90 +void gtk_snapshot_push_blend (GtkSnapshot *snapshot, + GskBlendMode blend_mode, + const char *name, + ...) G_GNUC_PRINTF (3, 4); +GDK_AVAILABLE_IN_3_90 void gtk_snapshot_push_cross_fade (GtkSnapshot *snapshot, double progress, const char *name, |