Module: wine Branch: master Commit: 208971f1812936e8c529024c8a8d9f5c6b0c4971 URL: https://gitlab.winehq.org/wine/wine/-/commit/208971f1812936e8c529024c8a8d9f5...
Author: Mohamad Al-Jaf mohamadaljaf@gmail.com Date: Wed Apr 5 20:27:42 2023 -0400
include: Add Windows.UI.Composition.Vector3KeyFrameAnimation definition.
Needed by Windows.UI.Composition.Compositor.
---
include/windows.ui.composition.idl | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+)
diff --git a/include/windows.ui.composition.idl b/include/windows.ui.composition.idl index 090e506f2f0..23dba7d73b4 100644 --- a/include/windows.ui.composition.idl +++ b/include/windows.ui.composition.idl @@ -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;
@@ -563,6 +565,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), @@ -851,6 +867,16 @@ namespace Windows.UI.Composition { [default] interface Windows.UI.Composition.IVector2KeyFrameAnimation; }
+ [ + 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),