summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-16 21:58:15 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:02:58 +0200
commitf2dc8a26ed62b9bf8eff440e6c811908bb11cc00 (patch)
tree4fb15263e7b35c7e5894d35ea1441069e7829991 /gtk/gtkstyle.h
parentfed19bcf503903f8bf124198be4ad609915e2102 (diff)
downloadgtk+-f2dc8a26ed62b9bf8eff440e6c811908bb11cc00.tar.gz
style: Convert draw_option vfunc to Cairo version
Diffstat (limited to 'gtk/gtkstyle.h')
-rw-r--r--gtk/gtkstyle.h35
1 files changed, 22 insertions, 13 deletions
diff --git a/gtk/gtkstyle.h b/gtk/gtkstyle.h
index 0a09c99749..27d7414400 100644
--- a/gtk/gtkstyle.h
+++ b/gtk/gtkstyle.h
@@ -244,10 +244,9 @@ struct _GtkStyleClass
gint width,
gint height);
void (*draw_option) (GtkStyle *style,
- GdkWindow *window,
+ cairo_t *cr,
GtkStateType state_type,
GtkShadowType shadow_type,
- GdkRectangle *area,
GtkWidget *widget,
const gchar *detail,
gint x,
@@ -610,17 +609,27 @@ void gtk_cairo_paint_check (GtkStyle *style,
gint y,
gint width,
gint height);
-void gtk_paint_option (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_option (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_option (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_tab (GtkStyle *style,
GdkWindow *window,
GtkStateType state_type,