diff options
author | Benjamin Otte <otte@redhat.com> | 2012-01-15 06:26:08 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-02-02 03:14:00 +0100 |
commit | a63ff724060c0a9ff9299d294e17b59aab46f81f (patch) | |
tree | 04a26d5c42745d63f05381da2bee291c1222c91b /gtk/gtkroundedboxprivate.h | |
parent | 82c2dad178b918699372a1d2942753af25908438 (diff) | |
download | gtk+-a63ff724060c0a9ff9299d294e17b59aab46f81f.tar.gz |
css: Convert border-radius to GtkCssNumber
We can do % now, wohoo!
Diffstat (limited to 'gtk/gtkroundedboxprivate.h')
-rw-r--r-- | gtk/gtkroundedboxprivate.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk/gtkroundedboxprivate.h b/gtk/gtkroundedboxprivate.h index 98309e7f36..07987c4dda 100644 --- a/gtk/gtkroundedboxprivate.h +++ b/gtk/gtkroundedboxprivate.h @@ -30,11 +30,17 @@ G_BEGIN_DECLS typedef struct _GtkRoundedBox GtkRoundedBox; +typedef struct _GtkRoundedBoxCorner GtkRoundedBoxCorner; + +struct _GtkRoundedBoxCorner { + double horizontal; + double vertical; +}; struct _GtkRoundedBox { /*< private >*/ cairo_rectangle_t box; - GtkCssBorderCornerRadius corner[4]; + GtkRoundedBoxCorner corner[4]; }; void _gtk_rounded_box_init_rect (GtkRoundedBox *box, |