diff options
author | Benjamin Otte <otte@redhat.com> | 2014-10-26 05:07:06 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-01-07 14:26:47 +0100 |
commit | ac215ffc8fbefe2493c071721d5cf72c916b6bc6 (patch) | |
tree | 9c4210c9208ab765b1d040fffbdbbb14e16de4fa /gtk/gtkcssanimatedstyleprivate.h | |
parent | 4168e0385efd9231731ed35b96ce58bafc3eb03f (diff) | |
download | gtk+-ac215ffc8fbefe2493c071721d5cf72c916b6bc6.tar.gz |
cssstyle: Add GtkCssStaticStyle
For now, this is only an implementation detail of the animated style.
The idea is to use GtkCssStaticStyle as the result of CSS queries and
then put a GtkCssAnimatedStyle on top that manages the animations. The
neat thing about this is that you can cache the static values.
Diffstat (limited to 'gtk/gtkcssanimatedstyleprivate.h')
-rw-r--r-- | gtk/gtkcssanimatedstyleprivate.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gtk/gtkcssanimatedstyleprivate.h b/gtk/gtkcssanimatedstyleprivate.h index 07b094b2ea..141050f82d 100644 --- a/gtk/gtkcssanimatedstyleprivate.h +++ b/gtk/gtkcssanimatedstyleprivate.h @@ -38,17 +38,11 @@ struct _GtkCssAnimatedStyle { GtkCssStyle parent; - GPtrArray *values; /* the unanimated (aka intrinsic) values */ - GPtrArray *sections; /* sections the values are defined in */ + GtkCssStyle *style; /* the style if we weren't animating */ GPtrArray *animated_values; /* NULL or array of animated values/NULL if not animated */ gint64 current_time; /* the current time in our world */ GSList *animations; /* the running animations, least important one first */ - - GtkBitmask *depends_on_parent; /* for intrinsic values */ - GtkBitmask *equals_parent; /* dito */ - GtkBitmask *depends_on_color; /* dito */ - GtkBitmask *depends_on_font_size; /* dito */ }; struct _GtkCssAnimatedStyleClass |