summaryrefslogtreecommitdiff
path: root/alf/alfcompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alfcompat.h')
-rw-r--r--alf/alfcompat.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/alf/alfcompat.h b/alf/alfcompat.h
index eeb70da..5fa37e6 100644
--- a/alf/alfcompat.h
+++ b/alf/alfcompat.h
@@ -78,6 +78,14 @@ typedef struct {
const BLENDFUNCTION *pBlendFunction;
} ALF_Compat_BP_PAINTPARAMS;
+typedef struct {
+ int cxLeftWidth;
+ int cxRightWidth;
+ int cyTopHeight;
+ int cyBottomHeight;
+} ALF_Compat_MARGINS;
+
+
#ifndef TMT_TRANSITIONDURATION
#define TMT_TRANSITIONDURATION 6000
#endif
@@ -125,6 +133,7 @@ extern HRESULT (WINAPI *ALF_Compat_EndBufferedAnimation)(ALF_Compat_HANIMATIONBU
extern BOOL (WINAPI *ALF_Compat_BufferedPaintRenderAnimation)(HWND,HDC);
extern HRESULT (WINAPI *ALF_Compat_GetThemeTransitionDuration)(HTHEME,int,int,int,int,DWORD*);
extern HRESULT (WINAPI *ALF_Compat_GetThemeColor)(HTHEME,int,int,int,COLORREF*);
+extern HRESULT (WINAPI *ALF_Compat_GetThemeMargins)(HTHEME,HDC,int,int,int,const RECT *,MARGINS *);
// compatibility bits