diff --git a/ChangeLog b/ChangeLog index b6c5c32a63..dfa66908d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,7 @@ -Fri Jan 21 16:16:29 2000 Owen Taylor +Fri Jan 21 16:29:28 2000 Owen Taylor + + * gtk/gtkstyle.[ch] docs/Changes-1.4.txt: Make the @detail argument + for the GtkStyleClass vtable const. * gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc take a const string argument like GtkTranslateFunc. This will diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index b6c5c32a63..dfa66908d5 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,4 +1,7 @@ -Fri Jan 21 16:16:29 2000 Owen Taylor +Fri Jan 21 16:29:28 2000 Owen Taylor + + * gtk/gtkstyle.[ch] docs/Changes-1.4.txt: Make the @detail argument + for the GtkStyleClass vtable const. * gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc take a const string argument like GtkTranslateFunc. This will diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index b6c5c32a63..dfa66908d5 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,4 +1,7 @@ -Fri Jan 21 16:16:29 2000 Owen Taylor +Fri Jan 21 16:29:28 2000 Owen Taylor + + * gtk/gtkstyle.[ch] docs/Changes-1.4.txt: Make the @detail argument + for the GtkStyleClass vtable const. * gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc take a const string argument like GtkTranslateFunc. This will diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index b6c5c32a63..dfa66908d5 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,4 +1,7 @@ -Fri Jan 21 16:16:29 2000 Owen Taylor +Fri Jan 21 16:29:28 2000 Owen Taylor + + * gtk/gtkstyle.[ch] docs/Changes-1.4.txt: Make the @detail argument + for the GtkStyleClass vtable const. * gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc take a const string argument like GtkTranslateFunc. This will diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index b6c5c32a63..dfa66908d5 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,4 +1,7 @@ -Fri Jan 21 16:16:29 2000 Owen Taylor +Fri Jan 21 16:29:28 2000 Owen Taylor + + * gtk/gtkstyle.[ch] docs/Changes-1.4.txt: Make the @detail argument + for the GtkStyleClass vtable const. * gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc take a const string argument like GtkTranslateFunc. This will diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index b6c5c32a63..dfa66908d5 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,4 +1,7 @@ -Fri Jan 21 16:16:29 2000 Owen Taylor +Fri Jan 21 16:29:28 2000 Owen Taylor + + * gtk/gtkstyle.[ch] docs/Changes-1.4.txt: Make the @detail argument + for the GtkStyleClass vtable const. * gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc take a const string argument like GtkTranslateFunc. This will diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index b6c5c32a63..dfa66908d5 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,4 +1,7 @@ -Fri Jan 21 16:16:29 2000 Owen Taylor +Fri Jan 21 16:29:28 2000 Owen Taylor + + * gtk/gtkstyle.[ch] docs/Changes-1.4.txt: Make the @detail argument + for the GtkStyleClass vtable const. * gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc take a const string argument like GtkTranslateFunc. This will diff --git a/docs/Changes-1.4.txt b/docs/Changes-1.4.txt index 3009ee96ab..6de4d63810 100644 --- a/docs/Changes-1.4.txt +++ b/docs/Changes-1.4.txt @@ -7,3 +7,5 @@ Incompatible Changes from GTK+-1.2 to GTK+-1.4: - The signature for GtkPrintFunc (used for gtk_item_factory_dump_items) has been changed to take a 'const gchar *' instead of 'gchar *', to match what we do for glib, and other similar cases. + +- The detail arguments in the GtkStyleClass structure are now 'const gchar *'. diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index d107870d02..40e6e61b15 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -48,252 +48,251 @@ static void gtk_style_init (GtkStyle *style, gint depth); static void gtk_style_destroy (GtkStyle *style); -static void gtk_default_draw_hline (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x1, - gint x2, - gint y); -static void gtk_default_draw_vline (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint y1, - gint y2, - gint x); -static void gtk_default_draw_shadow (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -static void gtk_default_draw_shadow (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -static void gtk_default_draw_polygon (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - GdkPoint *points, - gint npoints, - gboolean fill); -static void gtk_default_draw_arrow (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - GtkArrowType arrow_type, - gboolean fill, - gint x, - gint y, - gint width, - gint height); -static void gtk_default_draw_diamond (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -static void gtk_default_draw_oval (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -static void gtk_default_draw_string (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - const gchar *string); -static void gtk_default_draw_box (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -static void gtk_default_draw_flat_box (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -static void gtk_default_draw_check (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -static void gtk_default_draw_option (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -static void gtk_default_draw_cross (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -static void gtk_default_draw_ramp (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - GtkArrowType arrow_type, - gint x, - gint y, - gint width, - gint height); -static void gtk_default_draw_tab (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -static void gtk_default_draw_shadow_gap (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height, - GtkPositionType gap_side, - gint gap_x, - gint gap_width); -static void gtk_default_draw_box_gap (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height, - GtkPositionType gap_side, - gint gap_x, - gint gap_width); -static void gtk_default_draw_extension (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height, - GtkPositionType gap_side); -static void gtk_default_draw_focus (GtkStyle *style, - GdkWindow *window, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -static void gtk_default_draw_slider (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height, - GtkOrientation orientation); -static void gtk_default_draw_handle (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height, - GtkOrientation orientation); - +static void gtk_default_draw_hline (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x1, + gint x2, + gint y); +static void gtk_default_draw_vline (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint y1, + gint y2, + gint x); +static void gtk_default_draw_shadow (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +static void gtk_default_draw_shadow (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +static void gtk_default_draw_polygon (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + GdkPoint *points, + gint npoints, + gboolean fill); +static void gtk_default_draw_arrow (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + GtkArrowType arrow_type, + gboolean fill, + gint x, + gint y, + gint width, + gint height); +static void gtk_default_draw_diamond (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +static void gtk_default_draw_oval (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +static void gtk_default_draw_string (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + const gchar *string); +static void gtk_default_draw_box (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +static void gtk_default_draw_flat_box (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +static void gtk_default_draw_check (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +static void gtk_default_draw_option (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +static void gtk_default_draw_cross (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +static void gtk_default_draw_ramp (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + GtkArrowType arrow_type, + gint x, + gint y, + gint width, + gint height); +static void gtk_default_draw_tab (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +static void gtk_default_draw_shadow_gap (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkPositionType gap_side, + gint gap_x, + gint gap_width); +static void gtk_default_draw_box_gap (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkPositionType gap_side, + gint gap_x, + gint gap_width); +static void gtk_default_draw_extension (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkPositionType gap_side); +static void gtk_default_draw_focus (GtkStyle *style, + GdkWindow *window, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +static void gtk_default_draw_slider (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkOrientation orientation); +static void gtk_default_draw_handle (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkOrientation orientation); static void gtk_style_shade (GdkColor *a, GdkColor *b, gdouble k); static void rgb_to_hls (gdouble *r, gdouble *g, gdouble *b); @@ -1225,7 +1224,7 @@ gtk_default_draw_hline (GtkStyle *style, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x1, gint x2, gint y) @@ -1282,7 +1281,7 @@ gtk_default_draw_vline (GtkStyle *style, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint y1, gint y2, gint x) @@ -1329,7 +1328,7 @@ gtk_default_draw_shadow (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -1504,7 +1503,7 @@ gtk_default_draw_polygon (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, GdkPoint *points, gint npoints, gboolean fill) @@ -1638,7 +1637,7 @@ gtk_default_draw_arrow (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, GtkArrowType arrow_type, gboolean fill, gint x, @@ -1991,7 +1990,7 @@ gtk_default_draw_diamond (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -2119,7 +2118,7 @@ gtk_default_draw_oval (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -2137,7 +2136,7 @@ gtk_default_draw_string (GtkStyle *style, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, const gchar *string) @@ -2170,7 +2169,7 @@ gtk_default_draw_box (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -2213,7 +2212,7 @@ gtk_default_draw_flat_box (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -2274,7 +2273,7 @@ gtk_default_draw_check (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -2291,7 +2290,7 @@ gtk_default_draw_option (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -2308,7 +2307,7 @@ gtk_default_draw_cross (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -2327,7 +2326,7 @@ gtk_default_draw_ramp (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, GtkArrowType arrow_type, gint x, gint y, @@ -2347,7 +2346,7 @@ gtk_default_draw_tab (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -2367,7 +2366,7 @@ gtk_default_draw_shadow_gap (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -2588,7 +2587,7 @@ gtk_default_draw_box_gap (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -2814,7 +2813,7 @@ gtk_default_draw_extension (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -2992,7 +2991,7 @@ gtk_default_draw_focus (GtkStyle *style, GdkWindow *window, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -3050,7 +3049,7 @@ gtk_default_draw_slider (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -3087,7 +3086,7 @@ gtk_default_draw_handle (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -3346,7 +3345,7 @@ gtk_paint_hline (GtkStyle *style, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x1, gint x2, gint y) @@ -3364,7 +3363,7 @@ gtk_paint_vline (GtkStyle *style, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint y1, gint y2, gint x) @@ -3381,13 +3380,13 @@ gtk_paint_shadow (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height) + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height) { g_return_if_fail (style != NULL); g_return_if_fail (style->klass != NULL); @@ -3403,7 +3402,7 @@ gtk_paint_polygon (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, GdkPoint *points, gint npoints, gboolean fill) @@ -3422,7 +3421,7 @@ gtk_paint_arrow (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, GtkArrowType arrow_type, gboolean fill, gint x, @@ -3444,7 +3443,7 @@ gtk_paint_diamond (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -3464,7 +3463,7 @@ gtk_paint_oval (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -3483,9 +3482,9 @@ gtk_paint_string (GtkStyle *style, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, - gint x, - gint y, + const gchar *detail, + gint x, + gint y, const gchar *string) { g_return_if_fail (style != NULL); @@ -3502,11 +3501,11 @@ gtk_paint_box (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height) + const gchar *detail, + gint x, + gint y, + gint width, + gint height) { g_return_if_fail (style != NULL); g_return_if_fail (style->klass != NULL); @@ -3522,7 +3521,7 @@ gtk_paint_flat_box (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -3542,7 +3541,7 @@ gtk_paint_check (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -3562,7 +3561,7 @@ gtk_paint_option (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -3582,7 +3581,7 @@ gtk_paint_cross (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -3602,7 +3601,7 @@ gtk_paint_ramp (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, GtkArrowType arrow_type, gint x, gint y, @@ -3623,7 +3622,7 @@ gtk_paint_tab (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -3709,7 +3708,7 @@ gtk_paint_focus (GtkStyle *style, GdkWindow *window, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -3729,7 +3728,7 @@ gtk_paint_slider (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -3750,7 +3749,7 @@ gtk_paint_handle (GtkStyle *style, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, diff --git a/gtk/gtkstyle.h b/gtk/gtkstyle.h index d8884c62c7..e2de64e04f 100644 --- a/gtk/gtkstyle.h +++ b/gtk/gtkstyle.h @@ -113,7 +113,7 @@ struct _GtkStyleClass GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x1, gint x2, gint y); @@ -122,7 +122,7 @@ struct _GtkStyleClass GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint y1, gint y2, gint x); @@ -132,7 +132,7 @@ struct _GtkStyleClass GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -143,7 +143,7 @@ struct _GtkStyleClass GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, GdkPoint *point, gint npoints, gboolean fill); @@ -153,7 +153,7 @@ struct _GtkStyleClass GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, GtkArrowType arrow_type, gboolean fill, gint x, @@ -166,7 +166,7 @@ struct _GtkStyleClass GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -177,7 +177,7 @@ struct _GtkStyleClass GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -187,7 +187,7 @@ struct _GtkStyleClass GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, const gchar *string); @@ -197,7 +197,7 @@ struct _GtkStyleClass GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -208,7 +208,7 @@ struct _GtkStyleClass GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -219,7 +219,7 @@ struct _GtkStyleClass GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -230,7 +230,7 @@ struct _GtkStyleClass GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -241,7 +241,7 @@ struct _GtkStyleClass GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -252,7 +252,7 @@ struct _GtkStyleClass GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, GtkArrowType arrow_type, gint x, gint y, @@ -264,7 +264,7 @@ struct _GtkStyleClass GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -275,7 +275,7 @@ struct _GtkStyleClass GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -289,7 +289,7 @@ struct _GtkStyleClass GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -303,7 +303,7 @@ struct _GtkStyleClass GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -313,7 +313,7 @@ struct _GtkStyleClass GdkWindow *window, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -324,7 +324,7 @@ struct _GtkStyleClass GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -336,7 +336,7 @@ struct _GtkStyleClass GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, - gchar *detail, + const gchar *detail, gint x, gint y, gint width, @@ -364,413 +364,412 @@ void gtk_style_apply_default_background (GtkStyle *style, gint width, gint height); -void gtk_draw_hline (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - gint x1, - gint x2, - gint y); -void gtk_draw_vline (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - gint y1, - gint y2, - gint x); -void gtk_draw_shadow (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - gint x, - gint y, - gint width, - gint height); -void gtk_draw_polygon (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkPoint *points, - gint npoints, - gboolean fill); -void gtk_draw_arrow (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GtkArrowType arrow_type, - gboolean fill, - gint x, - gint y, - gint width, - gint height); -void gtk_draw_diamond (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - gint x, - gint y, - gint width, - gint height); -void gtk_draw_oval (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - gint x, - gint y, - gint width, - gint height); -void gtk_draw_string (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - gint x, - gint y, - const gchar *string); -void gtk_draw_box (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - gint x, - gint y, - gint width, - gint height); -void gtk_draw_flat_box (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - gint x, - gint y, - gint width, - gint height); -void gtk_draw_check (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - gint x, - gint y, - gint width, - gint height); -void gtk_draw_option (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - gint x, - gint y, - gint width, - gint height); -void gtk_draw_cross (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - gint x, - gint y, - gint width, - gint height); -void gtk_draw_ramp (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GtkArrowType arrow_type, - gint x, - gint y, - gint width, - gint height); -void gtk_draw_tab (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - gint x, - gint y, - gint width, - gint height); -void gtk_draw_shadow_gap (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - gint x, - gint y, - gint width, - gint height, - GtkPositionType gap_side, - gint gap_x, - gint gap_width); -void gtk_draw_box_gap (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - gint x, - gint y, - gint width, - gint height, - GtkPositionType gap_side, - gint gap_x, - gint gap_width); -void gtk_draw_extension (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - gint x, - gint y, - gint width, - gint height, - GtkPositionType gap_side); -void gtk_draw_focus (GtkStyle *style, - GdkWindow *window, - gint x, - gint y, - gint width, - gint height); -void gtk_draw_slider (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - gint x, - gint y, - gint width, - gint height, - GtkOrientation orientation); -void gtk_draw_handle (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - gint x, - gint y, - gint width, - gint height, - GtkOrientation orientation); - -void gtk_paint_hline (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x1, - gint x2, - gint y); -void gtk_paint_vline (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint y1, - gint y2, - gint x); -void gtk_paint_shadow (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -void gtk_paint_polygon (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - GdkPoint *points, - gint npoints, - gboolean fill); -void gtk_paint_arrow (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - GtkArrowType arrow_type, - gboolean fill, - gint x, - gint y, - gint width, - gint height); -void gtk_paint_diamond (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -void gtk_paint_oval (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -void gtk_paint_string (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - const gchar *string); -void gtk_paint_box (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -void gtk_paint_flat_box (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -void gtk_paint_check (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -void gtk_paint_option (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -void gtk_paint_cross (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -void gtk_paint_ramp (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - GtkArrowType arrow_type, - gint x, - gint y, - gint width, - gint height); -void gtk_paint_tab (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -void gtk_paint_shadow_gap (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height, - GtkPositionType gap_side, - gint gap_x, - gint gap_width); -void gtk_paint_box_gap (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height, - GtkPositionType gap_side, - gint gap_x, - gint gap_width); -void gtk_paint_extension (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height, - GtkPositionType gap_side); -void gtk_paint_focus (GtkStyle *style, - GdkWindow *window, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height); -void gtk_paint_slider (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height, - GtkOrientation orientation); -void gtk_paint_handle (GtkStyle *style, - GdkWindow *window, - GtkStateType state_type, - GtkShadowType shadow_type, - GdkRectangle *area, - GtkWidget *widget, - gchar *detail, - gint x, - gint y, - gint width, - gint height, - GtkOrientation orientation); +void gtk_draw_hline (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + gint x1, + gint x2, + gint y); +void gtk_draw_vline (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + gint y1, + gint y2, + gint x); +void gtk_draw_shadow (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + gint x, + gint y, + gint width, + gint height); +void gtk_draw_polygon (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkPoint *points, + gint npoints, + gboolean fill); +void gtk_draw_arrow (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkArrowType arrow_type, + gboolean fill, + gint x, + gint y, + gint width, + gint height); +void gtk_draw_diamond (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + gint x, + gint y, + gint width, + gint height); +void gtk_draw_oval (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + gint x, + gint y, + gint width, + gint height); +void gtk_draw_string (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + gint x, + gint y, + const gchar *string); +void gtk_draw_box (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + gint x, + gint y, + gint width, + gint height); +void gtk_draw_flat_box (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + gint x, + gint y, + gint width, + gint height); +void gtk_draw_check (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + gint x, + gint y, + gint width, + gint height); +void gtk_draw_option (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + gint x, + gint y, + gint width, + gint height); +void gtk_draw_cross (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + gint x, + gint y, + gint width, + gint height); +void gtk_draw_ramp (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkArrowType arrow_type, + gint x, + gint y, + gint width, + gint height); +void gtk_draw_tab (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + gint x, + gint y, + gint width, + gint height); +void gtk_draw_shadow_gap (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + gint x, + gint y, + gint width, + gint height, + GtkPositionType gap_side, + gint gap_x, + gint gap_width); +void gtk_draw_box_gap (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + gint x, + gint y, + gint width, + gint height, + GtkPositionType gap_side, + gint gap_x, + gint gap_width); +void gtk_draw_extension (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + gint x, + gint y, + gint width, + gint height, + GtkPositionType gap_side); +void gtk_draw_focus (GtkStyle *style, + GdkWindow *window, + gint x, + gint y, + gint width, + gint height); +void gtk_draw_slider (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + gint x, + gint y, + gint width, + gint height, + GtkOrientation orientation); +void gtk_draw_handle (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + gint x, + gint y, + gint width, + gint height, + GtkOrientation orientation); +void gtk_paint_hline (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x1, + gint x2, + gint y); +void gtk_paint_vline (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint y1, + gint y2, + gint x); +void gtk_paint_shadow (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +void gtk_paint_polygon (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + GdkPoint *points, + gint npoints, + gboolean fill); +void gtk_paint_arrow (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + GtkArrowType arrow_type, + gboolean fill, + gint x, + gint y, + gint width, + gint height); +void gtk_paint_diamond (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +void gtk_paint_oval (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +void gtk_paint_string (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + const gchar *string); +void gtk_paint_box (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +void gtk_paint_flat_box (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +void gtk_paint_check (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + 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, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +void gtk_paint_cross (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +void gtk_paint_ramp (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + GtkArrowType arrow_type, + gint x, + gint y, + gint width, + gint height); +void gtk_paint_tab (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +void gtk_paint_shadow_gap (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkPositionType gap_side, + gint gap_x, + gint gap_width); +void gtk_paint_box_gap (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkPositionType gap_side, + gint gap_x, + gint gap_width); +void gtk_paint_extension (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkPositionType gap_side); +void gtk_paint_focus (GtkStyle *style, + GdkWindow *window, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +void gtk_paint_slider (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + 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, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkOrientation orientation); #ifdef __cplusplus }