diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-09-13 17:04:19 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-09-14 00:08:36 -0400 |
commit | 5bbe811090d11840bbd65f46b6f5100b3079ac97 (patch) | |
tree | 317ac1036a5efce27afe696b5ddc35a023edb7b8 /gtk/gtkcssboxesprivate.h | |
parent | 952f85c12de13e978294af58f26694eddb3a1ee0 (diff) | |
download | gtk+-wip/css-value-unboxing.tar.gz |
wip: Unbox css valueswip/css-value-unboxing
Keep css values unboxed in the values structs, for faster access
to these values, where it makes sense.
Diffstat (limited to 'gtk/gtkcssboxesprivate.h')
-rw-r--r-- | gtk/gtkcssboxesprivate.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkcssboxesprivate.h b/gtk/gtkcssboxesprivate.h index 24a38ff0de..eae9f323c9 100644 --- a/gtk/gtkcssboxesprivate.h +++ b/gtk/gtkcssboxesprivate.h @@ -57,16 +57,16 @@ static inline void gtk_css_boxes_init GtkWidget *widget); static inline void gtk_css_boxes_init_content_box (GtkCssBoxes *boxes, GtkCssStyle *style, - double x, - double y, - double width, - double height); + float x, + float y, + float width, + float height); static inline void gtk_css_boxes_init_border_box (GtkCssBoxes *boxes, GtkCssStyle *style, - double x, - double y, - double width, - double height); + float x, + float y, + float width, + float height); static inline const graphene_rect_t * gtk_css_boxes_get_rect (GtkCssBoxes *boxes, GtkCssArea area); |