summaryrefslogtreecommitdiff
path: root/gtk/gtkrendericonprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-10-23 11:42:23 +0200
committerMatthias Clasen <mclasen@redhat.com>2017-10-23 11:44:52 +0200
commite4cdbef092d8dfd8ce23f4ca80beff5894fed8c3 (patch)
treeba0b68909a9e495355d1f29fb7c0927f60b6c8b8 /gtk/gtkrendericonprivate.h
parentb543257e4252e13b896d6fd97d4dbc0bb21d4d72 (diff)
downloadgtk+-e4cdbef092d8dfd8ce23f4ca80beff5894fed8c3.tar.gz
Allow passing a color matrix when rendering icons
This will be used for symbolic icons. Update all callers.
Diffstat (limited to 'gtk/gtkrendericonprivate.h')
-rw-r--r--gtk/gtkrendericonprivate.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkrendericonprivate.h b/gtk/gtkrendericonprivate.h
index 2ab38f7699..29b81c4dbb 100644
--- a/gtk/gtkrendericonprivate.h
+++ b/gtk/gtkrendericonprivate.h
@@ -50,7 +50,9 @@ void gtk_css_style_render_icon_surface (GtkCssStyle *style,
void gtk_css_style_snapshot_icon_texture (GtkCssStyle *style,
GtkSnapshot *snapshot,
GskTexture *texture,
- double texture_scale);
+ double texture_scale,
+ graphene_matrix_t * color_matrix,
+ graphene_vec4_t * color_offset);
void gtk_css_style_render_icon_get_extents (GtkCssStyle *style,
GdkRectangle *extents,