Skip to content

Commit

Permalink
chore: Remove generated AnimatedVisualPlayer and IAnimatedVisualSource
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Mar 20, 2023
1 parent 0aa62c0 commit 8742fb9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 314 deletions.
6 changes: 3 additions & 3 deletions src/AddIns/Uno.UI.Lottie/LottieVisualSourceProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ public LottieVisualSourceProvider(object owner)
{
}

public IAnimatedVisualSource CreateFromLottieAsset(Uri sourceFile) => new LottieVisualSource { UriSource = sourceFile };
public Windows.UI.Xaml.Controls.IAnimatedVisualSource CreateFromLottieAsset(Uri sourceFile) => new LottieVisualSource { UriSource = sourceFile };

public IThemableAnimatedVisualSource CreateTheamableFromLottieAsset(Uri sourceFile) => new ThemableLottieVisualSource { UriSource = sourceFile };
public Windows.UI.Xaml.Controls.IThemableAnimatedVisualSource CreateTheamableFromLottieAsset(Uri sourceFile) => new ThemableLottieVisualSource { UriSource = sourceFile };

public bool TryCreateThemableFromAnimatedVisualSource(IAnimatedVisualSource animatedVisualSource, out IThemableAnimatedVisualSource? themableAnimatedVisualSource)
public bool TryCreateThemableFromAnimatedVisualSource(Windows.UI.Xaml.Controls.IAnimatedVisualSource animatedVisualSource, out IThemableAnimatedVisualSource? themableAnimatedVisualSource)
{
themableAnimatedVisualSource = default;
if (animatedVisualSource is ThemableLottieVisualSource themable)
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ namespace Microsoft.UI.Xaml.Controls
{
public interface ILottieVisualSourceProvider
{
IAnimatedVisualSource CreateFromLottieAsset(Uri sourceFile);
IThemableAnimatedVisualSource CreateTheamableFromLottieAsset(Uri sourceFile);
Windows.UI.Xaml.Controls.IAnimatedVisualSource CreateFromLottieAsset(Uri sourceFile);
Windows.UI.Xaml.Controls.IThemableAnimatedVisualSource CreateTheamableFromLottieAsset(Uri sourceFile);
public bool TryCreateThemableFromAnimatedVisualSource(Windows.UI.Xaml.Controls.IAnimatedVisualSource animatedVisualSource, out IThemableAnimatedVisualSource themableAnimatedVisualSource);
}
}

0 comments on commit 8742fb9

Please sign in to comment.