Commit 52478c30 authored by Mohamad Al-Jaf's avatar Mohamad Al-Jaf Committed by Alexandre Julliard

include: Add Windows.UI.Composition.Vector2KeyFrameAnimation definition.

Needed by Windows.UI.Composition.Compositor.
parent dfbe81f7
......@@ -75,6 +75,7 @@ namespace Windows.UI.Composition {
interface IScalarKeyFrameAnimation;
interface ISpriteVisual;
interface ISpriteVisual2;
interface IVector2KeyFrameAnimation;
interface IVisual;
interface IVisual2;
interface IVisual3;
......@@ -105,6 +106,7 @@ namespace Windows.UI.Composition {
runtimeclass QuaternionKeyFrameAnimation;
runtimeclass ScalarKeyFrameAnimation;
runtimeclass SpriteVisual;
runtimeclass Vector2KeyFrameAnimation;
runtimeclass Visual;
runtimeclass VisualCollection;
......@@ -549,6 +551,20 @@ namespace Windows.UI.Composition {
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
exclusiveto(Windows.UI.Composition.Vector2KeyFrameAnimation),
uuid(df414515-4e29-4f11-b55e-bf2a6eb36294)
]
interface IVector2KeyFrameAnimation : IInspectable
{
[overload("InsertKeyFrame")] HRESULT InsertKeyFrame([in] FLOAT key, [in] Windows.Foundation.Numerics.Vector2 value);
[overload("InsertKeyFrame")] HRESULT InsertKeyFrameWithEasingFunction(
[in] FLOAT key, [in] Windows.Foundation.Numerics.Vector2 value,
[in] Windows.UI.Composition.CompositionEasingFunction *function
);
}
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
exclusiveto(Windows.UI.Composition.Visual),
uuid(117e202d-a859-4c89-873b-c2aa566788e3)
]
......@@ -826,6 +842,16 @@ namespace Windows.UI.Composition {
}
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
marshaling_behavior(agile),
threading(both)
]
runtimeclass Vector2KeyFrameAnimation : Windows.UI.Composition.KeyFrameAnimation
{
[default] interface Windows.UI.Composition.IVector2KeyFrameAnimation;
}
[
composable(Windows.UI.Composition.IVisualFactory, public, Windows.Foundation.UniversalApiContract, 2.0),
contract(Windows.Foundation.UniversalApiContract, 2.0),
marshaling_behavior(agile),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment