Mark Harmstone : include: Add buffered animation functions to uxtheme.h.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Apr 27 07:45:10 CDT 2015


Module: wine
Branch: master
Commit: 4a1ebd7369ee8d7044a62887d9813c7aa3a5eeff
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4a1ebd7369ee8d7044a62887d9813c7aa3a5eeff

Author: Mark Harmstone <hellas at burntcomma.com>
Date:   Sat Apr 25 19:37:54 2015 +0100

include: Add buffered animation functions to uxtheme.h.

---

 include/uxtheme.h | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/include/uxtheme.h b/include/uxtheme.h
index fa0d3cb..e6994a1 100644
--- a/include/uxtheme.h
+++ b/include/uxtheme.h
@@ -213,4 +213,32 @@ HDC WINAPI GetBufferedPaintDC(HPAINTBUFFER);
 HDC WINAPI GetBufferedPaintTargetDC(HPAINTBUFFER);
 HRESULT WINAPI GetBufferedPaintTargetRect(HPAINTBUFFER, RECT *prc);
 
+/* double-buffered animation functions */
+
+typedef HANDLE HANIMATIONBUFFER;
+
+typedef enum _BP_ANIMATIONSTYLE
+{
+    BPAS_NONE,
+    BPAS_LINEAR,
+    BPAS_CUBIC,
+    BPAS_SINE
+} BP_ANIMATIONSTYLE;
+
+typedef struct _BP_ANIMATIONPARAMS
+{
+    DWORD cbSize;
+    DWORD dwFlags;
+    BP_ANIMATIONSTYLE style;
+    DWORD dwDuration;
+} BP_ANIMATIONPARAMS, *PBP_ANIMATIONPARAMS;
+
+HANIMATIONBUFFER WINAPI BeginBufferedAnimation(HWND, HDC, const RECT *,
+                                               BP_BUFFERFORMAT, BP_PAINTPARAMS *,
+                                               BP_ANIMATIONPARAMS *, HDC *, HDC *);
+
+BOOL WINAPI BufferedPaintRenderAnimation(HWND, HDC);
+HRESULT WINAPI BufferedPaintStopAllAnimations(HWND);
+HRESULT WINAPI EndBufferedAnimation(HANIMATIONBUFFER, BOOL);
+
 #endif




More information about the wine-cvs mailing list