diff options
author | Benjamin Otte <otte@redhat.com> | 2014-10-07 23:24:51 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-10-08 05:20:30 +0200 |
commit | c39bd623f648dab0da290fbe9b3a3bafde20fd21 (patch) | |
tree | fd9d728abb0e7609393cd1e1e8f9430cef887e53 /gtk/gtkrenderprivate.h | |
parent | 7295c8f12bddc081a4736eb45d9bad1e45d8cdd3 (diff) | |
download | gtk+-c39bd623f648dab0da290fbe9b3a3bafde20fd21.tar.gz |
colorswatch: Render background properly
We want to render a background *and* the current color (if there is
one).
This also adds a custom function gtk_render_add_content_path() which
adds the path of the current content area to a cairo_t.
Diffstat (limited to 'gtk/gtkrenderprivate.h')
-rw-r--r-- | gtk/gtkrenderprivate.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkrenderprivate.h b/gtk/gtkrenderprivate.h index 73a2c5349d..81c9d6ca63 100644 --- a/gtk/gtkrenderprivate.h +++ b/gtk/gtkrenderprivate.h @@ -22,6 +22,12 @@ #include <pango/pango.h> #include <gdk/gdk.h> +void gtk_render_content_path (GtkStyleContext *context, + cairo_t *cr, + double x, + double y, + double width, + double height); void gtk_render_paint_spinner (cairo_t *cr, gdouble radius, gdouble progress); |