summaryrefslogtreecommitdiff
path: root/alf/alfcompat.h
diff options
context:
space:
mode:
authorJonas Kümmerlin <jonas@kuemmerlin.eu>2020-05-29 23:43:00 +0200
committerJonas Kümmerlin <jonas@kuemmerlin.eu>2020-05-29 23:43:00 +0200
commitc9ebff8e7de093e7705aab6208593fae048ad98d (patch)
tree06f641c182e4013e95c7fa1f255e4adbd32a67f2 /alf/alfcompat.h
parent46326d57e0c912f265595ffed375d211bbe23f44 (diff)
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.
Diffstat (limited to 'alf/alfcompat.h')
-rw-r--r--alf/alfcompat.h2
1 files changed, 2 insertions, 0 deletions
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);