diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-06-26 14:28:27 +0200 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-06-26 14:29:32 +0200 |
| commit | 960f0cef228a64ea598c4531d0a7d159dfb7ed0d (patch) | |
| tree | 9baf7baa580723487fcb5da95b555580830d1942 /alf/alfcompat.cpp | |
| parent | cd9b72745abd06012777f130f1f19c4ae853489d (diff) | |
spin box: initial implementation
Diffstat (limited to 'alf/alfcompat.cpp')
| -rw-r--r-- | alf/alfcompat.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/alf/alfcompat.cpp b/alf/alfcompat.cpp index f5bed22..d764895 100644 --- a/alf/alfcompat.cpp +++ b/alf/alfcompat.cpp @@ -434,6 +434,14 @@ ALF_Compat_fallbackBufferedPaintRenderAnimation(HWND hwnd, HDC hdc) } static HRESULT WINAPI +ALF_Compat_fallbackBufferedPaintStopAllAnimations(HWND hwnd) +{ + (void)hwnd; + + return E_NOTIMPL; +} + +static HRESULT WINAPI ALF_Compat_fallbackGetThemeTransitionDuration(HTHEME hTheme, int iPartId, int iStateIdFrom, @@ -679,6 +687,7 @@ void ALF_LoadCompatFunctions(void) LOAD_FUNC(uxtheme, EndBufferedAnimation); LOAD_FUNC(uxtheme, EndBufferedPaint); LOAD_FUNC(uxtheme, BufferedPaintRenderAnimation); + LOAD_FUNC(uxtheme, BufferedPaintStopAllAnimations); LOAD_FUNC(uxtheme, GetThemeTransitionDuration); LOAD_FUNC(uxtheme, GetThemePartSize); LOAD_FUNC(uxtheme, GetThemeColor); @@ -774,6 +783,7 @@ void ALF_UnloadCompatFunctions(void) UNLOAD_FUNC(EndBufferedAnimation); UNLOAD_FUNC(EndBufferedPaint); UNLOAD_FUNC(BufferedPaintRenderAnimation); + UNLOAD_FUNC(BufferedPaintStopAllAnimations); UNLOAD_FUNC(GetThemeTransitionDuration); UNLOAD_FUNC(GetThemePartSize); UNLOAD_FUNC(GetThemeColor); @@ -814,6 +824,7 @@ ALF_Compat_HPAINTBUFFER (WINAPI *ALF_Compat_BeginBufferedPaint)(HDC,const RECT * HRESULT (WINAPI *ALF_Compat_EndBufferedAnimation)(ALF_Compat_HANIMATIONBUFFER,BOOL) = NULL; HRESULT (WINAPI *ALF_Compat_EndBufferedPaint)(ALF_Compat_HPAINTBUFFER,BOOL) = NULL; BOOL (WINAPI *ALF_Compat_BufferedPaintRenderAnimation)(HWND,HDC) = NULL; +HRESULT (WINAPI *ALF_Compat_BufferedPaintStopAllAnimations)(HWND) = NULL; HRESULT (WINAPI *ALF_Compat_GetThemeTransitionDuration)(HTHEME,int,int,int,int,DWORD*) = NULL; HRESULT (WINAPI *ALF_Compat_GetThemeColor)(HTHEME,int,int,int,COLORREF*) = NULL; HRESULT (WINAPI *ALF_Compat_GetThemeMargins)(HTHEME,HDC,int,int,int,const RECT *,MARGINS *) = NULL; |
