diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-16 21:55:02 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:02:58 +0200 |
commit | fed19bcf503903f8bf124198be4ad609915e2102 (patch) | |
tree | 5875f9fd69b71a6d5652652aa2c552c87978cf54 /gtk/gtkstyle.h | |
parent | bea727a142f15ef9d263e57eaa32c11f78a52bd6 (diff) | |
download | gtk+-fed19bcf503903f8bf124198be4ad609915e2102.tar.gz |
style: Convert draw_check vfunc to Cairo version
Diffstat (limited to 'gtk/gtkstyle.h')
-rw-r--r-- | gtk/gtkstyle.h | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/gtk/gtkstyle.h b/gtk/gtkstyle.h index eca824322b..0a09c99749 100644 --- a/gtk/gtkstyle.h +++ b/gtk/gtkstyle.h @@ -234,10 +234,9 @@ struct _GtkStyleClass gint width, gint height); void (*draw_check) (GtkStyle *style, - GdkWindow *window, + cairo_t *cr, GtkStateType state_type, GtkShadowType shadow_type, - GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, @@ -590,17 +589,27 @@ void gtk_cairo_paint_flat_box (GtkStyle *style, gint y, gint width, gint height); -void gtk_paint_check (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - const GdkRectangle *area, - GtkWidget *widget, - const gchar *detail, - gint x, - gint y, - gint width, - gint height); +void gtk_paint_check (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + const GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +void gtk_cairo_paint_check (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); void gtk_paint_option (GtkStyle *style, GdkWindow *window, GtkStateType state_type, |