summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-16 15:21:01 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:02:58 +0200
commitd80e2897b95e7a3a7d7ecb92177209a6d5a3fe5b (patch)
tree4680c234fa3b59747f6f841e33e4caf96391e5a5 /gtk/gtkstyle.h
parentff6e75adbc2e5b215f01f0b1448c3382dbdfbc32 (diff)
downloadgtk+-d80e2897b95e7a3a7d7ecb92177209a6d5a3fe5b.tar.gz
style: Convert draw_layout vfunc to Cairo version
Diffstat (limited to 'gtk/gtkstyle.h')
-rw-r--r--gtk/gtkstyle.h32
1 files changed, 20 insertions, 12 deletions
diff --git a/gtk/gtkstyle.h b/gtk/gtkstyle.h
index 038edac020..44a0bf0428 100644
--- a/gtk/gtkstyle.h
+++ b/gtk/gtkstyle.h
@@ -341,10 +341,9 @@ struct _GtkStyleClass
gint y,
GtkExpanderStyle expander_style);
void (*draw_layout) (GtkStyle *style,
- GdkWindow *window,
+ cairo_t *cr,
GtkStateType state_type,
gboolean use_text,
- GdkRectangle *area,
GtkWidget *widget,
const gchar *detail,
gint x,
@@ -802,16 +801,25 @@ void gtk_cairo_paint_expander (GtkStyle *style,
gint x,
gint y,
GtkExpanderStyle expander_style);
-void gtk_paint_layout (GtkStyle *style,
- GdkWindow *window,
- GtkStateType state_type,
- gboolean use_text,
- const GdkRectangle *area,
- GtkWidget *widget,
- const gchar *detail,
- gint x,
- gint y,
- PangoLayout *layout);
+void gtk_paint_layout (GtkStyle *style,
+ GdkWindow *window,
+ GtkStateType state_type,
+ gboolean use_text,
+ const GdkRectangle *area,
+ GtkWidget *widget,
+ const gchar *detail,
+ gint x,
+ gint y,
+ PangoLayout *layout);
+void gtk_cairo_paint_layout (GtkStyle *style,
+ cairo_t *cr,
+ GtkStateType state_type,
+ gboolean use_text,
+ GtkWidget *widget,
+ const gchar *detail,
+ gint x,
+ gint y,
+ PangoLayout *layout);
void gtk_paint_resize_grip (GtkStyle *style,
GdkWindow *window,
GtkStateType state_type,