summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-17 02:46:46 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:02:58 +0200
commitf0fd2e3a6e49984d5ee71295e3e59565ba594b5b (patch)
tree013bcbb1e8a45ac6b20347e70fab93e810aec0c8 /gtk/gtkstyle.h
parent24304a2e93b5e7728e386626c08edcc7223aeade (diff)
downloadgtk+-f0fd2e3a6e49984d5ee71295e3e59565ba594b5b.tar.gz
style: Convert draw_slider vfunc to Cairo version
Diffstat (limited to 'gtk/gtkstyle.h')
-rw-r--r--gtk/gtkstyle.h38
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,