mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
Rebase against ccec532879ec14b2e79da08288152a69221ec4d1
This commit is contained in:
parent
6f1ebb84a2
commit
6e793996ba
@ -52,7 +52,7 @@ usage()
|
||||
# Get the upstream commit sha
|
||||
upstream_commit()
|
||||
{
|
||||
echo "931408698859360e56cd85d532b142e789a6c274"
|
||||
echo "ccec532879ec14b2e79da08288152a69221ec4d1"
|
||||
}
|
||||
|
||||
# Show version information
|
||||
@ -281,7 +281,6 @@ patch_enable_all ()
|
||||
enable_shlwapi_UrlCombine="$1"
|
||||
enable_stdole32_idl_Typelib="$1"
|
||||
enable_stdole32_tlb_SLTG_Typelib="$1"
|
||||
enable_uianimation_stubs="$1"
|
||||
enable_user32_DM_SETDEFID="$1"
|
||||
enable_user32_Dialog_Paint_Event="$1"
|
||||
enable_user32_DrawMenuItem="$1"
|
||||
@ -967,9 +966,6 @@ patch_enable ()
|
||||
stdole32.tlb-SLTG_Typelib)
|
||||
enable_stdole32_tlb_SLTG_Typelib="$2"
|
||||
;;
|
||||
uianimation-stubs)
|
||||
enable_uianimation_stubs="$2"
|
||||
;;
|
||||
user32-DM_SETDEFID)
|
||||
enable_user32_DM_SETDEFID="$2"
|
||||
;;
|
||||
@ -6033,25 +6029,6 @@ if test "$enable_stdole32_tlb_SLTG_Typelib" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset uianimation-stubs
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
# | * [#41369] Add UIAnimation and stubs interfaces
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/uianimation/Makefile.in, dlls/uianimation/main.c
|
||||
# |
|
||||
if test "$enable_uianimation_stubs" -eq 1; then
|
||||
patch_apply uianimation-stubs/0002-uianimation-Add-stub-dll.patch
|
||||
patch_apply uianimation-stubs/0003-uianimation-Implement-IUIAnimationManager-CreateStor.patch
|
||||
patch_apply uianimation-stubs/0004-uianimation-Implement-IUIAnimationManager-CreateAnim.patch
|
||||
(
|
||||
printf '%s\n' '+ { "Louis Lenders", "uianimation: Add stub dll.", 1 },';
|
||||
printf '%s\n' '+ { "Louis Lenders", "uianimation: Implement IUIAnimationManager CreateStoryboard.", 1 },';
|
||||
printf '%s\n' '+ { "Louis Lenders", "uianimation: Implement IUIAnimationManager CreateAnimationVariable.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset user32-DM_SETDEFID
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,253 +0,0 @@
|
||||
From 4ef814d720b7b3ad1073a549e58a2c6d10e49905 Mon Sep 17 00:00:00 2001
|
||||
From: Louis Lenders <xerox.xerox2000x@gmail.com>
|
||||
Date: Mon, 17 Dec 2018 15:40:25 +1100
|
||||
Subject: [PATCH] uianimation: Implement IUIAnimationManager CreateStoryboard
|
||||
|
||||
---
|
||||
dlls/uianimation/main.c | 223 +++++++++++++++++++++++++++++++++++++++-
|
||||
1 file changed, 221 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/dlls/uianimation/main.c b/dlls/uianimation/main.c
|
||||
index cc5d9b36d68..c245f30b3e4 100644
|
||||
--- a/dlls/uianimation/main.c
|
||||
+++ b/dlls/uianimation/main.c
|
||||
@@ -676,6 +676,225 @@ BOOL WINAPI DllMain( HINSTANCE dll, DWORD reason, LPVOID reserved )
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
+/***********************************************************************
|
||||
+ * IUIAnimationStoryboard
|
||||
+ */
|
||||
+struct animation_storyboard
|
||||
+{
|
||||
+ IUIAnimationStoryboard IUIAnimationStoryboard_iface;
|
||||
+ LONG ref;
|
||||
+};
|
||||
+
|
||||
+struct animation_storyboard *impl_from_IUIAnimationStoryboard( IUIAnimationStoryboard *iface )
|
||||
+{
|
||||
+ return CONTAINING_RECORD( iface, struct animation_storyboard, IUIAnimationStoryboard_iface );
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI WINAPI animation_storyboard_QueryInterface( IUIAnimationStoryboard *iface,
|
||||
+ REFIID iid, void **obj )
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+
|
||||
+ TRACE( "(%p)->(%s %p)\n", This, debugstr_guid( iid ), obj );
|
||||
+
|
||||
+ if (IsEqualIID( iid, &IID_IUnknown ) ||
|
||||
+ IsEqualIID( iid, &IID_IUIAnimationStoryboard ))
|
||||
+ {
|
||||
+ IUIAnimationStoryboard_AddRef( iface );
|
||||
+ *obj = iface;
|
||||
+ return S_OK;
|
||||
+ }
|
||||
+
|
||||
+ FIXME( "interface %s not implemented\n", debugstr_guid( iid ) );
|
||||
+ *obj = NULL;
|
||||
+ return E_NOINTERFACE;
|
||||
+}
|
||||
+
|
||||
+static ULONG WINAPI animation_storyboard_AddRef( IUIAnimationStoryboard *iface )
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ ULONG ref = InterlockedIncrement( &This->ref );
|
||||
+
|
||||
+ TRACE( "(%p) ref = %u\n", This, ref );
|
||||
+ return ref;
|
||||
+}
|
||||
+
|
||||
+static ULONG WINAPI animation_storyboard_Release( IUIAnimationStoryboard *iface )
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ ULONG ref = InterlockedDecrement(&This->ref);
|
||||
+
|
||||
+ TRACE( "(%p) ref = %u\n", This, ref );
|
||||
+
|
||||
+ if (!ref)
|
||||
+ heap_free( This );
|
||||
+
|
||||
+ return ref;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_storyboard_AddTransition (IUIAnimationStoryboard *iface, IUIAnimationVariable *variable,
|
||||
+ IUIAnimationTransition *transition)
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return S_OK;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_storyboard_AddKeyframeAtOffset (IUIAnimationStoryboard *iface, UI_ANIMATION_KEYFRAME existingframe,
|
||||
+ UI_ANIMATION_SECONDS offset, UI_ANIMATION_KEYFRAME *keyframe)
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_storyboard_AddKeyframeAfterTransition (IUIAnimationStoryboard *iface,IUIAnimationTransition *transition,
|
||||
+ UI_ANIMATION_KEYFRAME *keyframe)
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return S_OK;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_storyboard_AddTransitionAtKeyframe (IUIAnimationStoryboard *iface, IUIAnimationVariable *variable,
|
||||
+ IUIAnimationTransition *transition, UI_ANIMATION_KEYFRAME start_key)
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_storyboard_AddTransitionBetweenKeyframes (IUIAnimationStoryboard *iface, IUIAnimationVariable *variable,
|
||||
+ IUIAnimationTransition *transition, UI_ANIMATION_KEYFRAME start_key, UI_ANIMATION_KEYFRAME end_key)
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_storyboard_RepeatBetweenKeyframes (IUIAnimationStoryboard *iface, UI_ANIMATION_KEYFRAME start_key,
|
||||
+ UI_ANIMATION_KEYFRAME end_key, INT32 count)
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return S_OK;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_storyboard_HoldVariable (IUIAnimationStoryboard *iface, IUIAnimationVariable *variable)
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_storyboard_SetLongestAcceptableDelay (IUIAnimationStoryboard *iface, UI_ANIMATION_SECONDS delay)
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_storyboard_Schedule (IUIAnimationStoryboard *iface, UI_ANIMATION_SECONDS now,
|
||||
+ UI_ANIMATION_SCHEDULING_RESULT *result)
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_storyboard_Conclude (IUIAnimationStoryboard *iface)
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_storyboard_Finish (IUIAnimationStoryboard *iface, UI_ANIMATION_SECONDS deadline)
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_storyboard_Abandon (IUIAnimationStoryboard *iface)
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_storyboard_SetTag(IUIAnimationStoryboard *iface, IUnknown *object, UINT32 id)
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_storyboard_GetTag (IUIAnimationStoryboard *iface, IUnknown **object, UINT32 *id)
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_storyboard_GetStatus (IUIAnimationStoryboard *iface, UI_ANIMATION_STORYBOARD_STATUS *status)
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_storyboard_GetElapsedTime (IUIAnimationStoryboard *iface, UI_ANIMATION_SECONDS *elapsed)
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_storyboard_SetStoryboardEventHandler (IUIAnimationStoryboard *iface, IUIAnimationStoryboardEventHandler *handler)
|
||||
+{
|
||||
+ struct animation_storyboard *This = impl_from_IUIAnimationStoryboard( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return S_OK;
|
||||
+}
|
||||
+
|
||||
+const struct IUIAnimationStoryboardVtbl animation_storyboard_vtbl =
|
||||
+{
|
||||
+ animation_storyboard_QueryInterface,
|
||||
+ animation_storyboard_AddRef,
|
||||
+ animation_storyboard_Release,
|
||||
+ animation_storyboard_AddTransition,
|
||||
+ animation_storyboard_AddKeyframeAtOffset,
|
||||
+ animation_storyboard_AddKeyframeAfterTransition,
|
||||
+ animation_storyboard_AddTransitionAtKeyframe,
|
||||
+ animation_storyboard_AddTransitionBetweenKeyframes,
|
||||
+ animation_storyboard_RepeatBetweenKeyframes,
|
||||
+ animation_storyboard_HoldVariable,
|
||||
+ animation_storyboard_SetLongestAcceptableDelay,
|
||||
+ animation_storyboard_Schedule ,
|
||||
+ animation_storyboard_Conclude ,
|
||||
+ animation_storyboard_Finish ,
|
||||
+ animation_storyboard_Abandon,
|
||||
+ animation_storyboard_SetTag,
|
||||
+ animation_storyboard_GetTag ,
|
||||
+ animation_storyboard_GetStatus ,
|
||||
+ animation_storyboard_GetElapsedTime,
|
||||
+ animation_storyboard_SetStoryboardEventHandler
|
||||
+};
|
||||
+
|
||||
+static HRESULT animation_storyboard_create( IUIAnimationStoryboard **obj )
|
||||
+{
|
||||
+ struct animation_storyboard *This = heap_alloc( sizeof(*This) );
|
||||
+
|
||||
+ if (!This) return E_OUTOFMEMORY;
|
||||
+ This->IUIAnimationStoryboard_iface.lpVtbl = &animation_storyboard_vtbl;
|
||||
+ This->ref = 1;
|
||||
+
|
||||
+ *obj = &This->IUIAnimationStoryboard_iface;
|
||||
+
|
||||
+ return S_OK;
|
||||
+}
|
||||
+
|
||||
/***********************************************************************
|
||||
* IUIAnimationManager
|
||||
*/
|
||||
@@ -750,8 +969,8 @@ static HRESULT WINAPI manager_ScheduleTransition( IUIAnimationManager *iface, IU
|
||||
static HRESULT WINAPI manager_CreateStoryboard( IUIAnimationManager *iface, IUIAnimationStoryboard **storyboard )
|
||||
{
|
||||
struct manager *This = impl_from_IUIAnimationManager( iface );
|
||||
- FIXME( "stub (%p)->(%p)\n", This, storyboard );
|
||||
- return E_NOTIMPL;
|
||||
+ TRACE( "(%p)->(%p)\n", This, storyboard );
|
||||
+ return animation_storyboard_create(storyboard);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI manager_FinishAllStoryboards( IUIAnimationManager *iface, UI_ANIMATION_SECONDS max_time )
|
||||
--
|
||||
2.17.1
|
||||
|
@ -1,226 +0,0 @@
|
||||
From 61ad3dcf4ffee22d1d8b000c82c3779280303766 Mon Sep 17 00:00:00 2001
|
||||
From: Louis Lenders <xerox.xerox2000x@gmail.com>
|
||||
Date: Mon, 17 Dec 2018 15:44:49 +1100
|
||||
Subject: [PATCH] uianimation: Implement IUIAnimationManager
|
||||
CreateAnimationVariable
|
||||
|
||||
---
|
||||
dlls/uianimation/main.c | 195 +++++++++++++++++++++++++++++++++++++++-
|
||||
1 file changed, 193 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/dlls/uianimation/main.c b/dlls/uianimation/main.c
|
||||
index c245f30b3e4..a49b2fe43df 100644
|
||||
--- a/dlls/uianimation/main.c
|
||||
+++ b/dlls/uianimation/main.c
|
||||
@@ -895,6 +895,197 @@ static HRESULT animation_storyboard_create( IUIAnimationStoryboard **obj )
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
+/***********************************************************************
|
||||
+ * IUIAnimationVariable
|
||||
+ */
|
||||
+struct animation_var
|
||||
+{
|
||||
+ IUIAnimationVariable IUIAnimationVariable_iface;
|
||||
+ LONG ref;
|
||||
+ DOUBLE initial;
|
||||
+};
|
||||
+
|
||||
+struct animation_var *impl_from_IUIAnimationVariable( IUIAnimationVariable *iface )
|
||||
+{
|
||||
+ return CONTAINING_RECORD( iface, struct animation_var, IUIAnimationVariable_iface );
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI WINAPI animation_var_QueryInterface( IUIAnimationVariable *iface,
|
||||
+ REFIID iid, void **obj )
|
||||
+{
|
||||
+ struct animation_var *This = impl_from_IUIAnimationVariable( iface );
|
||||
+
|
||||
+ TRACE( "(%p)->(%s %p)\n", This, debugstr_guid( iid ), obj );
|
||||
+
|
||||
+ if (IsEqualIID( iid, &IID_IUnknown ) ||
|
||||
+ IsEqualIID( iid, &IID_IUIAnimationVariable ))
|
||||
+ {
|
||||
+ IUIAnimationVariable_AddRef( iface );
|
||||
+ *obj = iface;
|
||||
+ return S_OK;
|
||||
+ }
|
||||
+
|
||||
+ FIXME( "interface %s not implemented\n", debugstr_guid( iid ) );
|
||||
+ *obj = NULL;
|
||||
+ return E_NOINTERFACE;
|
||||
+}
|
||||
+
|
||||
+static ULONG WINAPI animation_var_AddRef( IUIAnimationVariable *iface )
|
||||
+{
|
||||
+ struct animation_var *This = impl_from_IUIAnimationVariable( iface );
|
||||
+ ULONG ref = InterlockedIncrement( &This->ref );
|
||||
+
|
||||
+ TRACE( "(%p) ref = %u\n", This, ref );
|
||||
+ return ref;
|
||||
+}
|
||||
+
|
||||
+static ULONG WINAPI animation_var_Release( IUIAnimationVariable *iface )
|
||||
+{
|
||||
+ struct animation_var *This = impl_from_IUIAnimationVariable( iface );
|
||||
+ ULONG ref = InterlockedDecrement(&This->ref);
|
||||
+
|
||||
+ TRACE( "(%p) ref = %u\n", This, ref );
|
||||
+
|
||||
+ if (!ref)
|
||||
+ heap_free( This );
|
||||
+
|
||||
+ return ref;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_var_GetValue ( IUIAnimationVariable *iface, DOUBLE *value)
|
||||
+{
|
||||
+ struct animation_var *This = impl_from_IUIAnimationVariable( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This);
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_var_GetFinalValue ( IUIAnimationVariable *iface, DOUBLE *value)
|
||||
+{
|
||||
+ struct animation_var *This = impl_from_IUIAnimationVariable( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_var_GetPreviousValue ( IUIAnimationVariable *iface, DOUBLE *value)
|
||||
+{
|
||||
+ struct animation_var *This = impl_from_IUIAnimationVariable( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_var_GetIntegerValue ( IUIAnimationVariable *iface, INT32 *value)
|
||||
+{
|
||||
+ struct animation_var *This = impl_from_IUIAnimationVariable( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_var_GetFinalIntegerValue ( IUIAnimationVariable *iface, INT32 *value)
|
||||
+{
|
||||
+ struct animation_var *This = impl_from_IUIAnimationVariable( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_var_GetPreviousIntegerValue ( IUIAnimationVariable *iface, INT32 *value)
|
||||
+{
|
||||
+ struct animation_var *This = impl_from_IUIAnimationVariable( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_var_GetCurrentStoryboard ( IUIAnimationVariable *iface, IUIAnimationStoryboard **storyboard)
|
||||
+{
|
||||
+ struct animation_var *This = impl_from_IUIAnimationVariable( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_var_SetLowerBound ( IUIAnimationVariable *iface, DOUBLE bound)
|
||||
+{
|
||||
+ struct animation_var *This = impl_from_IUIAnimationVariable( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_var_SetUpperBound ( IUIAnimationVariable *iface, DOUBLE bound)
|
||||
+{
|
||||
+ struct animation_var *This = impl_from_IUIAnimationVariable( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_var_SetRoundingMode ( IUIAnimationVariable *iface,UI_ANIMATION_ROUNDING_MODE mode)
|
||||
+{
|
||||
+ struct animation_var *This = impl_from_IUIAnimationVariable( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return S_OK;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_var_SetTag ( IUIAnimationVariable *iface, IUnknown *object, UINT32 id)
|
||||
+{
|
||||
+ struct animation_var *This = impl_from_IUIAnimationVariable( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_var_GetTag ( IUIAnimationVariable *iface, IUnknown **object, UINT32 *id)
|
||||
+{
|
||||
+ struct animation_var *This = impl_from_IUIAnimationVariable( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_var_SetVariableChangeHandler ( IUIAnimationVariable *iface, IUIAnimationVariableChangeHandler *handler)
|
||||
+{
|
||||
+ struct animation_var *This = impl_from_IUIAnimationVariable( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return S_OK;
|
||||
+}
|
||||
+
|
||||
+static HRESULT WINAPI animation_var_SetVariableIntegerChangeHandler ( IUIAnimationVariable *iface,
|
||||
+ IUIAnimationVariableIntegerChangeHandler *handler)
|
||||
+{
|
||||
+ struct animation_var *This = impl_from_IUIAnimationVariable( iface );
|
||||
+ FIXME( "stub (%p)->( )\n", This );
|
||||
+ return S_OK;
|
||||
+}
|
||||
+
|
||||
+const struct IUIAnimationVariableVtbl animation_var_vtbl =
|
||||
+{
|
||||
+ animation_var_QueryInterface,
|
||||
+ animation_var_AddRef,
|
||||
+ animation_var_Release,
|
||||
+ animation_var_GetValue,
|
||||
+ animation_var_GetFinalValue,
|
||||
+ animation_var_GetPreviousValue,
|
||||
+ animation_var_GetIntegerValue,
|
||||
+ animation_var_GetFinalIntegerValue,
|
||||
+ animation_var_GetPreviousIntegerValue,
|
||||
+ animation_var_GetCurrentStoryboard,
|
||||
+ animation_var_SetLowerBound,
|
||||
+ animation_var_SetUpperBound,
|
||||
+ animation_var_SetRoundingMode,
|
||||
+ animation_var_SetTag,
|
||||
+ animation_var_GetTag,
|
||||
+ animation_var_SetVariableChangeHandler,
|
||||
+ animation_var_SetVariableIntegerChangeHandler,
|
||||
+};
|
||||
+
|
||||
+static HRESULT animation_var_create(DOUBLE initial, IUIAnimationVariable **obj )
|
||||
+{
|
||||
+ struct animation_var *This = heap_alloc( sizeof(*This) );
|
||||
+
|
||||
+ if (!This) return E_OUTOFMEMORY;
|
||||
+ This->IUIAnimationVariable_iface.lpVtbl = &animation_var_vtbl;
|
||||
+ This->ref = 1;
|
||||
+ This->initial = initial;
|
||||
+
|
||||
+ *obj = &This->IUIAnimationVariable_iface;
|
||||
+
|
||||
+ return S_OK;
|
||||
+}
|
||||
+
|
||||
/***********************************************************************
|
||||
* IUIAnimationManager
|
||||
*/
|
||||
@@ -955,8 +1146,8 @@ static ULONG WINAPI manager_Release( IUIAnimationManager *iface )
|
||||
static HRESULT WINAPI manager_CreateAnimationVariable( IUIAnimationManager *iface, DOUBLE initial_value, IUIAnimationVariable **variable )
|
||||
{
|
||||
struct manager *This = impl_from_IUIAnimationManager( iface );
|
||||
- FIXME( "stub (%p)->(%f, %p)\n", This, initial_value, variable );
|
||||
- return E_NOTIMPL;
|
||||
+ TRACE( "(%p)->(%f, %p)\n", This, initial_value, variable );
|
||||
+ return animation_var_create(initial_value, variable);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI manager_ScheduleTransition( IUIAnimationManager *iface, IUIAnimationVariable *variable, IUIAnimationTransition *transition, UI_ANIMATION_SECONDS current_time )
|
||||
--
|
||||
2.17.1
|
||||
|
@ -1 +0,0 @@
|
||||
Fixes: [41369] Add UIAnimation and stubs interfaces
|
Loading…
x
Reference in New Issue
Block a user