Commit 208971f1 authored by Mohamad Al-Jaf's avatar Mohamad Al-Jaf Committed by Alexandre Julliard

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

Needed by Windows.UI.Composition.Compositor.
parent 52478c30
......@@ -76,6 +76,7 @@ namespace Windows.UI.Composition {
interface ISpriteVisual;
interface ISpriteVisual2;
interface IVector2KeyFrameAnimation;
interface IVector3KeyFrameAnimation;
interface IVisual;
interface IVisual2;
interface IVisual3;
......@@ -107,6 +108,7 @@ namespace Windows.UI.Composition {
runtimeclass ScalarKeyFrameAnimation;
runtimeclass SpriteVisual;
runtimeclass Vector2KeyFrameAnimation;
runtimeclass Vector3KeyFrameAnimation;
runtimeclass Visual;
runtimeclass VisualCollection;
......@@ -565,6 +567,20 @@ namespace Windows.UI.Composition {
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
exclusiveto(Windows.UI.Composition.Vector3KeyFrameAnimation),
uuid(c8039daa-a281-43c2-a73d-b68e3c533c40)
]
interface IVector3KeyFrameAnimation : IInspectable
{
[overload("InsertKeyFrame")] HRESULT InsertKeyFrame([in] FLOAT key, [in] Windows.Foundation.Numerics.Vector3 value);
[overload("InsertKeyFrame")] HRESULT InsertKeyFrameWithEasingFunction(
[in] FLOAT key, [in] Windows.Foundation.Numerics.Vector3 value,
[in] Windows.UI.Composition.CompositionEasingFunction *function
);
}
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
exclusiveto(Windows.UI.Composition.Visual),
uuid(117e202d-a859-4c89-873b-c2aa566788e3)
]
......@@ -852,6 +868,16 @@ namespace Windows.UI.Composition {
}
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
marshaling_behavior(agile),
threading(both)
]
runtimeclass Vector3KeyFrameAnimation : Windows.UI.Composition.KeyFrameAnimation
{
[default] interface Windows.UI.Composition.IVector3KeyFrameAnimation;
}
[
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