From c9ebff8e7de093e7705aab6208593fae048ad98d Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Fri, 29 May 2020 23:43:00 +0200 Subject: controls: subclass generic "ALFControl" window The idea is that the compiler can strip unused controls when linking statically, but the window class initialization functions blocked that. --- alf/alfcompat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'alf/alfcompat.h') diff --git a/alf/alfcompat.h b/alf/alfcompat.h index e09bda0..e2df004 100644 --- a/alf/alfcompat.h +++ b/alf/alfcompat.h @@ -122,6 +122,8 @@ ALF_Compat_LogFontAtoW(const LOGFONTA *a, LOGFONTW *w) w->lfFaceName[LF_FACESIZE - 1] = 0; } +extern int (*ALF_Compat_DrawDisabledText)(HDC,LPCTSTR,int,LPRECT,UINT); + extern BOOL (WINAPI *ALF_Compat_IsAppThemed)(void); extern UINT (WINAPI *ALF_Compat_GetDpiForWindow)(HWND); extern BOOL (WINAPI *ALF_Compat_AdjustWindowRectExForDpi)(LPRECT,DWORD,BOOL,DWORD,UINT); -- cgit v1.2.3