diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-02-08 16:27:39 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-02-14 16:36:56 -0500 |
commit | ae132c0a1a9587279fdcde5ff755f951bbdbb8cc (patch) | |
tree | 0be9a260a39e2e2945e2a6e2419ebd30f0510ea8 /gtk/gtkroundedboxprivate.h | |
parent | 4c61f1f663f1eea30b62f3a7f014a9a5797eade8 (diff) | |
download | gtk+-ae132c0a1a9587279fdcde5ff755f951bbdbb8cc.tar.gz |
roundedbox: add _apply_border_radius() variations for engine/context
And make the base function just use the raw corner radii struct.
Diffstat (limited to 'gtk/gtkroundedboxprivate.h')
-rw-r--r-- | gtk/gtkroundedboxprivate.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gtk/gtkroundedboxprivate.h b/gtk/gtkroundedboxprivate.h index 07987c4dda..42806c069a 100644 --- a/gtk/gtkroundedboxprivate.h +++ b/gtk/gtkroundedboxprivate.h @@ -49,10 +49,18 @@ void _gtk_rounded_box_init_rect (GtkRoundedBox double width, double height); -void _gtk_rounded_box_apply_border_radius (GtkRoundedBox *box, +void _gtk_rounded_box_apply_border_radius (GtkRoundedBox *box, + GtkCssBorderCornerRadius **corner, + GtkJunctionSides junction); +void _gtk_rounded_box_apply_border_radius_for_engine (GtkRoundedBox *box, GtkThemingEngine *engine, GtkStateFlags state, GtkJunctionSides junction); +void _gtk_rounded_box_apply_border_radius_for_context (GtkRoundedBox *box, + GtkStyleContext *context, + GtkStateFlags state, + GtkJunctionSides junction); + void _gtk_rounded_box_shrink (GtkRoundedBox *box, double top, double right, |