summaryrefslogtreecommitdiff
path: root/gtk/gtkstyleanimation.c
Commit message (Collapse)AuthorAgeFilesLines
* animatedstyle: don't share styleanimationsMatt Watson2016-04-081-18/+33
| | | | | | | | | | | | Because of our port of css animation and css transition to progress tracker, we should not think of animated styles as immutable objects that can map any timestamp to css values. Rather, timestamps can correspond to different values depending on the value of GTK_SLOWDOWN over the course of the animation. To keep animated styles and style animations totally immutable, we will not share styleanimations between animatedstyles, and make a new copy of a styleanimation for each timestamp.
* cssstyle: Split into GtkCssStyle and GtkCssAnimatedStyleBenjamin Otte2015-01-071-4/+4
| | | | | | | | GtkCssStyle is the base class to be used for all types of styles that do exist. GtkCssAnimatedStyle is the only implementation so far, that is exactly a copy/paste of the old GtkCssStyle code.
* cssstyle: Rename GtkCssComputedValues => GtkCssStyleBenjamin Otte2015-01-071-3/+3
| | | | | This is literally just renaming of the object (and the associated source files). No other changes are in there.
* animation: Don't set the changed properties anymoreBenjamin Otte2012-09-171-8/+5
| | | | | The code is not needed anymore. And it looked wrong, too, so I'm glad it's gone.
* animation: Add _gtk_style_animation_is_static()Benjamin Otte2012-09-171-0/+31
| | | | | | This will be useful to not trigger updates all the time when nothing is happening (ie due to animations being paused or due to them having reached their final value).
* stylecontext: Add new class for animation handlingBenjamin Otte2012-04-171-0/+82
A StyleAnimation is an immutable object used to track the state of CSS values. I'd have liked to make it fully immutable - ie not have the timestamp in there - but couldn't find a place to sanely store the timestamp. This is an abstract base class. Implementations for this will be added later (for both CSS3 transitions and animations, potentially for animated images). Actually aplying the information in this object will be done by a different object commtted later.