summaryrefslogtreecommitdiff
path: root/alf/alfcompat.h
diff options
context:
space:
mode:
authorJonas Kümmerlin <jonas@kuemmerlin.eu>2020-06-19 16:48:18 +0200
committerJonas Kümmerlin <jonas@kuemmerlin.eu>2020-06-19 16:48:18 +0200
commitcdc67e80ac78d08aee04bbc55ece650579beba6c (patch)
tree13089be9354afbd6573ed001403dbdcf3423054e /alf/alfcompat.h
parent253b9857e7b4317275b50795ddc53508e1cbd181 (diff)
add functions for centering a toplevel window on the monitor
Diffstat (limited to 'alf/alfcompat.h')
-rw-r--r--alf/alfcompat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/alf/alfcompat.h b/alf/alfcompat.h
index e839df4..8acdbc6 100644
--- a/alf/alfcompat.h
+++ b/alf/alfcompat.h
@@ -138,7 +138,9 @@ extern HRESULT (WINAPI *ALF_Compat_GetThemeTransitionDuration)(HTHEME,int,int,in
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 *);
extern HRESULT (WINAPI *ALF_Compat_LoadIconWithScaleDown)(HINSTANCE,PCWSTR,int,int,HICON *);
-
+extern BOOL (WINAPI *ALF_Compat_GetMonitorInfoA)(HMONITOR,MONITORINFO *);
+extern HMONITOR (WINAPI *ALF_Compat_MonitorFromPoint)(POINT,DWORD);
+extern HMONITOR (WINAPI *ALF_Compat_MonitorFromWindow)(HWND,DWORD);
// compatibility bits