Commit 0eaafd2d authored by Mohamad Al-Jaf's avatar Mohamad Al-Jaf Committed by Alexandre Julliard

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

Needed for mingw Firefox build.
parent 7ba9a384
......@@ -46,11 +46,15 @@ namespace Windows.UI.Composition {
interface ICompositionSurfaceBrush;
interface ICompositionSurfaceBrush2;
interface ICompositionSurfaceBrush3;
interface ISpriteVisual;
interface ISpriteVisual2;
runtimeclass CompositionBrush;
runtimeclass CompositionEasingFunction;
runtimeclass CompositionObject;
runtimeclass CompositionSurfaceBrush;
runtimeclass ContainerVisual;
runtimeclass SpriteVisual;
declare {
interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.UI.Composition.ICompositionSurface *>;
......@@ -157,6 +161,17 @@ namespace Windows.UI.Composition {
}
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
exclusiveto(Windows.UI.Composition.SpriteVisual),
uuid(08e05581-1ad1-4f97-9757-402d76e4233b)
]
interface ISpriteVisual : IInspectable
{
[propget] HRESULT Brush([out, retval] Windows.UI.Composition.CompositionBrush **value);
[propput] HRESULT Brush([in] Windows.UI.Composition.CompositionBrush *value);
}
[
composable(Windows.UI.Composition.ICompositionBrushFactory, public, Windows.Foundation.UniversalApiContract, 2.0),
contract(Windows.Foundation.UniversalApiContract, 2.0),
marshaling_behavior(agile),
......@@ -190,4 +205,15 @@ namespace Windows.UI.Composition {
[contract(Windows.Foundation.UniversalApiContract, 3.0)] interface Windows.UI.Composition.ICompositionSurfaceBrush2;
[contract(Windows.Foundation.UniversalApiContract, 8.0)] interface Windows.UI.Composition.ICompositionSurfaceBrush3;
}
[
contract(Windows.Foundation.UniversalApiContract, 2.0),
marshaling_behavior(agile),
threading(both)
]
runtimeclass SpriteVisual : Windows.UI.Composition.ContainerVisual
{
[default] interface Windows.UI.Composition.ISpriteVisual;
[contract(Windows.Foundation.UniversalApiContract, 3.0)] interface Windows.UI.Composition.ISpriteVisual2;
}
}
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