diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-17 02:46:46 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:02:58 +0200 |
commit | f0fd2e3a6e49984d5ee71295e3e59565ba594b5b (patch) | |
tree | 013bcbb1e8a45ac6b20347e70fab93e810aec0c8 /gtk/gtkstyle.h | |
parent | 24304a2e93b5e7728e386626c08edcc7223aeade (diff) | |
download | gtk+-f0fd2e3a6e49984d5ee71295e3e59565ba594b5b.tar.gz |
style: Convert draw_slider vfunc to Cairo version
Diffstat (limited to 'gtk/gtkstyle.h')
-rw-r--r-- | gtk/gtkstyle.h | 38 |
1 files changed, 24 insertions, 14 deletions
diff --git a/gtk/gtkstyle.h b/gtk/gtkstyle.h index ad64a9e6fd..0024c3ad65 100644 --- a/gtk/gtkstyle.h +++ b/gtk/gtkstyle.h @@ -310,10 +310,9 @@ struct _GtkStyleClass gint width, gint height); void (*draw_slider) (GtkStyle *style, - GdkWindow *window, + cairo_t *cr, GtkStateType state_type, GtkShadowType shadow_type, - GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, @@ -742,18 +741,29 @@ void gtk_cairo_paint_focus (GtkStyle *style, gint y, gint width, gint height); -void gtk_paint_slider (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, - GtkOrientation orientation); +void gtk_paint_slider (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, + GtkOrientation orientation); +void gtk_cairo_paint_slider (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkOrientation orientation); void gtk_paint_handle (GtkStyle *style, GdkWindow *window, GtkStateType state_type, |