| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
These functions are only used within their compilation unit.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
We were computing the wrong progress, in particular when the iteration
count was non-integer.
Test included.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This is literally just renaming of the object (and the associated source
files). No other changes are in there.
|
|
|
|
| |
"alternate" was behaving as "alternate-reverse" and vice versa.
|
| |
|
| |
|
|
|
|
|
| |
The code is not needed anymore. And it looked wrong, too, so I'm glad
it's gone.
|
|
|
|
|
| |
Actually use the GtkCssComputedValues to store the computed values here
instead of putting them into the GtkCssAnimatedValues separately.
|
|
|
|
|
|
| |
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).
|
|
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.
|