summaryrefslogtreecommitdiff
path: root/gtk/gtkrendericonprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-01-20 05:21:15 +0100
committerBenjamin Otte <otte@redhat.com>2015-01-20 06:30:20 +0100
commit8c745088d5376ba399985dad98d82311218ca548 (patch)
tree8d732c69b1ba15ea6672fc3f73e74849ef22d529 /gtk/gtkrendericonprivate.h
parentf6d64f65915d7bfe091497fdd5cf90e98115a928 (diff)
downloadgtk+-8c745088d5376ba399985dad98d82311218ca548.tar.gz
render: Split icon surface rendering out
Just like normal icons, icon surfaces belong into gtkrendericon.c.
Diffstat (limited to 'gtk/gtkrendericonprivate.h')
-rw-r--r--gtk/gtkrendericonprivate.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/gtk/gtkrendericonprivate.h b/gtk/gtkrendericonprivate.h
index 2fc8c49857..f006e97105 100644
--- a/gtk/gtkrendericonprivate.h
+++ b/gtk/gtkrendericonprivate.h
@@ -29,13 +29,19 @@
G_BEGIN_DECLS
-void gtk_css_style_render_icon (GtkCssStyle *style,
- cairo_t *cr,
- double x,
- double y,
- double width,
- double height,
- GtkCssImageBuiltinType builtin_type);
+void gtk_css_style_render_icon (GtkCssStyle *style,
+ cairo_t *cr,
+ double x,
+ double y,
+ double width,
+ double height,
+ GtkCssImageBuiltinType builtin_type);
+
+void gtk_css_style_render_icon_surface (GtkCssStyle *style,
+ cairo_t *cr,
+ cairo_surface_t *surface,
+ double x,
+ double y);
G_END_DECLS