summaryrefslogtreecommitdiff
path: root/alf/alfcompat.h
diff options
context:
space:
mode:
authorJonas Kümmerlin <jonas@kuemmerlin.eu>2020-06-10 17:51:49 +0200
committerJonas Kümmerlin <jonas@kuemmerlin.eu>2020-06-10 17:51:49 +0200
commitb3045c6feb7ac13cb2a80e2bcf96482debc2233f (patch)
tree72d9bf545115194ba18417e629b60b4164351a35 /alf/alfcompat.h
parenta43bae5fe45b7441fbe0e272dfc7d3727d280e53 (diff)
notebook: uxtheme drawing and more fixes
still missing mouseover effect and some fine tuning
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