From b3045c6feb7ac13cb2a80e2bcf96482debc2233f Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Wed, 10 Jun 2020 17:51:49 +0200 Subject: notebook: uxtheme drawing and more fixes still missing mouseover effect and some fine tuning --- alf/alfcompat.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'alf/alfcompat.h') 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 -- cgit v1.2.3