summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstyleprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-01-28 18:13:37 +0100
committerMatthias Clasen <mclasen@redhat.com>2020-01-29 11:07:32 +0100
commitb378f566d75d0f02f7f8123491a3c8dff9ecb44e (patch)
treecdc587db764cbb1d77c9aa29d5dac8c08308c4e1 /gtk/gtkcssstyleprivate.h
parent5776d0dd992e8a68a06164b9a96f5aceca483fd1 (diff)
downloadgtk+-b378f566d75d0f02f7f8123491a3c8dff9ecb44e.tar.gz
Compute style change based on values structs
We can save some time here by comparing struct by struct and avoiding individual values comparisons as much as possible.
Diffstat (limited to 'gtk/gtkcssstyleprivate.h')
-rw-r--r--gtk/gtkcssstyleprivate.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/gtk/gtkcssstyleprivate.h b/gtk/gtkcssstyleprivate.h
index d70b638939..929d200f4b 100644
--- a/gtk/gtkcssstyleprivate.h
+++ b/gtk/gtkcssstyleprivate.h
@@ -265,6 +265,50 @@ GtkCssValues *gtk_css_values_ref (GtkCssValues *values);
void gtk_css_values_unref (GtkCssValues *values);
GtkCssValues *gtk_css_values_copy (GtkCssValues *values);
+void gtk_css_core_values_compute_changes_and_affects (GtkCssStyle *style1,
+ GtkCssStyle *style2,
+ GtkBitmask **changes,
+ GtkCssAffects *affects);
+void gtk_css_background_values_compute_changes_and_affects (GtkCssStyle *style1,
+ GtkCssStyle *style2,
+ GtkBitmask **changes,
+ GtkCssAffects *affects);
+void gtk_css_border_values_compute_changes_and_affects (GtkCssStyle *style1,
+ GtkCssStyle *style2,
+ GtkBitmask **changes,
+ GtkCssAffects *affects);
+void gtk_css_icon_values_compute_changes_and_affects (GtkCssStyle *style1,
+ GtkCssStyle *style2,
+ GtkBitmask **changes,
+ GtkCssAffects *affects);
+void gtk_css_outline_values_compute_changes_and_affects (GtkCssStyle *style1,
+ GtkCssStyle *style2,
+ GtkBitmask **changes,
+ GtkCssAffects *affects);
+void gtk_css_font_values_compute_changes_and_affects (GtkCssStyle *style1,
+ GtkCssStyle *style2,
+ GtkBitmask **changes,
+ GtkCssAffects *affects);
+void gtk_css_font_variant_values_compute_changes_and_affects (GtkCssStyle *style1,
+ GtkCssStyle *style2,
+ GtkBitmask **changes,
+ GtkCssAffects *affects);
+void gtk_css_animation_values_compute_changes_and_affects (GtkCssStyle *style1,
+ GtkCssStyle *style2,
+ GtkBitmask **changes,
+ GtkCssAffects *affects);
+void gtk_css_transition_values_compute_changes_and_affects (GtkCssStyle *style1,
+ GtkCssStyle *style2,
+ GtkBitmask **changes,
+ GtkCssAffects *affects);
+void gtk_css_size_values_compute_changes_and_affects (GtkCssStyle *style1,
+ GtkCssStyle *style2,
+ GtkBitmask **changes,
+ GtkCssAffects *affects);
+void gtk_css_other_values_compute_changes_and_affects (GtkCssStyle *style1,
+ GtkCssStyle *style2,
+ GtkBitmask **changes,
+ GtkCssAffects *affects);
G_END_DECLS