diff options
author | Benjamin Otte <otte@redhat.com> | 2012-07-23 16:14:20 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-08-28 15:42:23 +0200 |
commit | 9b228c59d57eb6cd307be0ddfe4c6cb8c94f66a9 (patch) | |
tree | bdba9f4c2965ed475d270e926c7362f050d2317a /gtk/gtkcsscomputedvaluesprivate.h | |
parent | 2cb9dac14c2299c992827863553bd0b019765772 (diff) | |
download | gtk+-9b228c59d57eb6cd307be0ddfe4c6cb8c94f66a9.tar.gz |
cssomputedvalues: Track dependencies
We now track what values have dependencies on what other values so that
we could in theory recompute them when we need to.
Diffstat (limited to 'gtk/gtkcsscomputedvaluesprivate.h')
-rw-r--r-- | gtk/gtkcsscomputedvaluesprivate.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtkcsscomputedvaluesprivate.h b/gtk/gtkcsscomputedvaluesprivate.h index 64234ef371..239afca53a 100644 --- a/gtk/gtkcsscomputedvaluesprivate.h +++ b/gtk/gtkcsscomputedvaluesprivate.h @@ -43,8 +43,12 @@ struct _GtkCssComputedValues { GObject parent; - GPtrArray *values; + GPtrArray *values; GPtrArray *sections; + GtkBitmask *depends_on_parent; + GtkBitmask *equals_parent; + GtkBitmask *depends_on_color; + GtkBitmask *depends_on_font_size; }; struct _GtkCssComputedValuesClass |