Jumar Macato
d368d9675a
Address review.
7 years ago
Jumar Macato
b8e4909b10
Restore Lazy Init to avoid API break.
7 years ago
Jumar Macato
64fdb5828e
un-LINQ the Transition property matching codepath.
7 years ago
Jumar Macato
d176b1d7dc
Fix unit tests.
7 years ago
Jumar Macato
87245c90b4
Fixes: part 2 of n.
7 years ago
Jumar Macato
c64cc02ec6
Move transitions initializer to setter.
7 years ago
Jumar Macato
3b93e72d45
Dont initialize transition instance dictionary on objects without Transitions on it.
7 years ago
Jumar Macato
6b0ded4fc2
Track old `TransitionInstances` and dispose when its invalid.
Fixes #2485
7 years ago
Jumar Macato
00167d61e2
Reorganize namespaces
7 years ago
Jeremy Koritzinsky
ec9c61bbbe
Allow clocks to be bindable and inherited down the logical tree.
8 years ago
Jeremy Koritzinsky
59cad1cf86
Fix unfinished clock type refactor.
8 years ago
Jeremy Koritzinsky
b0368c80b2
Enable transitions to run on custom clocks.
8 years ago
Jumar Macato
33aec77f16
Move the playstate handling to the State machine instead of being pipelined by the timer itself.
Removed unused AnimationStateTimer.
8 years ago
Jumar Macato
ed45ec47b2
Fix the transitions bug by pushing zero immediately after Subscription.
Thanks to sir @grokys for this fix.
Fix XML Doc on Animatable.cs.
8 years ago
Jumar Macato
8a800cadfa
Fix nits & polish up some code
8 years ago
Miha Markič
0a38876590
Spellchecks all projects except for Base, Controls, Samples and Testing
8 years ago
Jumar Macato
714606b2ad
Add PlayState support.
Redoing the main algorithm yet again.
8 years ago
Jumar Macato
5365fd0a41
Add the new animation algorithm.
8 years ago
Jeremy Koritzinsky
9ff429879f
Revert "Move Avalonia.Styling to be below Avalonia.Animation in the dependency chain per conversation in Gitter."
This reverts commit 867ecc05b6e7f94e08389e7f8383f61d488e1245.
8 years ago
Jeremy Koritzinsky
61ebeb2ac9
Move Avalonia.Styling to be below Avalonia.Animation in the dependency chain per conversation in Gitter.
8 years ago
Jumar Macato
517622d1f7
Addressed all review notes by sir @grokys .
8 years ago
Jumar Macato
8ddedc49e4
Moved out KeyFrames and Transitions namespaces back
to Avalonia.Animations
8 years ago
Jumar Macato
5e849b82df
Minor Fixes on KFSM regarding backward fill mode.
Reimplemented ClippingPage.xaml to XAML Keyframes.
Reverted Animatable properties to a DirectProperty.
8 years ago
Jumar Macato
edf982b820
Implemented FillMode; This PR is now almost feature complete (that nasty Control.Class selector bug).
8 years ago
Jumar Macato
0ed34541a2
Initial Implementation of KeyFrame state machines for handling different stages of an animation.
8 years ago
Jumar Macato
df602f8480
Implement IterationTokens for Repeat behaviors
8 years ago
Jumar Macato
99e9f9eed5
Delegated the animation clock to the Animatable objects so that we can control their Play State individually.
8 years ago
Jumar Macato
1116e92999
Added RepeatBehavior, Direction and PlayState
enums and their respective properties in Animatable.cs
8 years ago
Jumar Macato
456c7c10c2
- Initial implementation of ColorTransition.cs
- Added System.Numerics.Vectors in Avalonia.Base.
- Replaced AnimationPlayState in Animatable.cs with a DirectProperty.
8 years ago
Jumar Macato
bb5c5c0d3a
TransitionKeyFrames transform selection logic are now fully functional.
Trigger RaiseChanged() on TransformGroup class when a child transform was changed.
Split the PlayState enum to a new file.
8 years ago
Jumar Macato
4f929ac0a1
Fix transitions
8 years ago
Jumar Macato
8dd3315c9a
Split the global timer for Transitions and Animations.
Added more example animations in RenderTest with Global Pause/Resume button for Animations.
8 years ago
Jumar Macato
fdeb946af6
Pass target control to the keyframes and other animation classes.
Make the global timer discrete to avoid costly TimeSpan conversions and enable global animation pause/play support.
8 years ago
Jumar Macato
7693836c43
Minor Fixes pt. 2
8 years ago
Jumar Macato
dd657e203d
*Implement Basic Keyframe Animations support.
*Implement DoubleKeyFrames for Properties such as Opacity, etc.
*Implement TransformKeyFrames with initial implementation
of specialized logic for selecting RenderTransform of the
target control properly.
*Ported RenderTest to .NET Core for testing and to remove the
crufty old .csproj format.
*Replaced AnimationsPage with some samples of hover-activated
animated red rectangles.
8 years ago
Steven Kirk
3236223e09
Made visuals depend on animations.
Instead of `Avalonia.Animations` depending on `Avalonia.Visuals`, make it the other way round.
8 years ago
Jumar Macato
28e3d73098
Revert the library split, just transferring the base Animatable class to Avalonia.Visual was good enough.
Apply important changes from my internal test branch
8 years ago
Jumar Macato
378bdc6c8c
Fixed transition backend, transitions are now working.
8 years ago
Jumar Macato
f0868a595e
*Commented out stray xml comment.
8 years ago
Jumar Macato
23aeff1cee
*Commented out stray xml comment.
8 years ago
Jumar Macato
7becd1ea92
*Added initial implementation of new Transitions
*Added default easing classes
*Added easing type converter
8 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
1841e7ad7a
Start allowing Setters to contain bindings.
This is needed so that things like the following can be done:
<TreeView>
<TreeView.Styles>
<Style Selector="TreeViewItem">
<Setter Property="IsExpanded" Value="{Binding IsExpanded}"/>
</Style>
</TreeView.Styles>
<TreeView>
(At the moment we have TreeDataTemplate.IsExpanded but this isn't good
enough: it only supports setting IsExpanded on creation of the item with
no binding.)
With this commit, setters can now contain bindings, but they aren't yet
applied correctly. As part of this commit, classes related to binding
have been moved to the Perspex.Data namespace.
10 years ago
Steven Kirk
67835cc09b
Applied a bunch of resharper suggestions.
10 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
11 years ago
Steven Kirk
6167bacf54
Moved to more standard filesystem layout.
Based on https://gist.github.com/davidfowl/ed7564297c61fe9ab814 and https://github.com/fsprojects/ProjectScaffold
11 years ago
Steven Kirk
1599828f9d
Documentation.
11 years ago
Steven Kirk
fe9ed13cff
Install StyleCopAnalysers.
And fix all warnings for the Perspex.Animation project.
11 years ago
Steven Kirk
2f7981f1cb
Added an animated rotation.
To do this had to move Animatable to the bottom of the class hierarchy
to allow Transform to inherit from it.
11 years ago