diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-16 15:09:50 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:02:59 +0200 |
commit | be1d190b2e42a4ca33cab865a3d196daf4c839da (patch) | |
tree | 29de36690a83faac2132c5be1c7e144e3e419dc2 /gtk/gtkstyle.h | |
parent | 81f15cf908efd7875051723d2618887c14720ce9 (diff) | |
download | gtk+-be1d190b2e42a4ca33cab865a3d196daf4c839da.tar.gz |
style: Convert draw_spinner vfunc to Cairo version
Diffstat (limited to 'gtk/gtkstyle.h')
-rw-r--r-- | gtk/gtkstyle.h | 36 |
1 files changed, 23 insertions, 13 deletions
diff --git a/gtk/gtkstyle.h b/gtk/gtkstyle.h index c7c0fead29..a300829b75 100644 --- a/gtk/gtkstyle.h +++ b/gtk/gtkstyle.h @@ -360,9 +360,8 @@ struct _GtkStyleClass gint width, gint height); void (*draw_spinner) (GtkStyle *style, - GdkWindow *window, + cairo_t *cr, GtkStateType state_type, - GdkRectangle *area, GtkWidget *widget, const gchar *detail, guint step, @@ -840,17 +839,28 @@ void gtk_cairo_paint_resize_grip (GtkStyle *style, gint y, gint width, gint height); -void gtk_paint_spinner (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - const GdkRectangle *area, - GtkWidget *widget, - const gchar *detail, - guint step, - gint x, - gint y, - gint width, - gint height); +void gtk_paint_spinner (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + const GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + guint step, + gint x, + gint y, + gint width, + gint height); +void gtk_cairo_paint_spinner (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkWidget *widget, + const gchar *detail, + guint step, + gint x, + gint y, + gint width, + gint height); + GType gtk_border_get_type (void) G_GNUC_CONST; GtkBorder *gtk_border_new (void) G_GNUC_MALLOC; |