summaryrefslogtreecommitdiff
path: root/gtk/gtkcssanimation.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace "gint" with "int"Benjamin Otte2020-07-251-1/+1
|
* css: Make GtkStyleAnimation and subclasses non-objectsTimm Bäder2020-05-101-38/+31
| | | | | | Making them GObjects is unnecessary. This enables further optimizations down the road. The only place we use them in is gtkcssanimatedstyle.c after all.
* cssanimatedstyle: Make set_animated_value transfer-fullTimm Bäder2019-09-091-1/+0
|
* gtk: Mark internal functions as staticEmmanuele Bassi2016-10-171-1/+1
| | | | These functions are only used within their compilation unit.
* animatedstyle: don't share styleanimationsMatt Watson2016-04-081-20/+25
| | | | | | | | | | | | 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.
* cssanimation: port to progress trackerMatt Watson2016-04-081-71/+50
|
* cssanimation: Compute progress correctlyBenjamin Otte2016-03-111-21/+19
| | | | | | | We were computing the wrong progress, in particular when the iteration count was non-integer. Test included.
* cssstyle: Split into GtkCssStyle and GtkCssAnimatedStyleBenjamin Otte2015-01-071-3/+3
| | | | | | | | 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.
* cssanimation: Fix animation-direction handlingBenjamin Otte2014-07-071-4/+4
| | | | "alternate" was behaving as "alternate-reverse" and vice versa.
* cssanimation: Use property id hereBenjamin Otte2013-05-281-1/+1
|
* cssanimation: Implement pausing the animationBenjamin Otte2012-09-171-9/+44
|
* animation: Don't set the changed properties anymoreBenjamin Otte2012-09-171-7/+2
| | | | | The code is not needed anymore. And it looked wrong, too, so I'm glad it's gone.
* csscomputedvalues: Store animated values hereBenjamin Otte2012-09-171-3/+2
| | | | | Actually use the GtkCssComputedValues to store the computed values here instead of putting them into the GtkCssAnimatedValues separately.
* animation: Add _gtk_style_animation_is_static()Benjamin Otte2012-09-171-0/+13
| | | | | | 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).
* css: Add animation supportBenjamin Otte2012-09-171-0/+214
This adds the GtkCssAnimation class and the code needed to hook it into GtkStyleContext. It takes the values out of the CSS "animation" properties and does animations. See http://dev.w3.org/csswg/css3-animations/ for details. Note that the code for starting and stopping animations with widget visibility doesn't work yet.