summaryrefslogtreecommitdiff
path: root/alf/alf.h
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alf.h')
-rw-r--r--alf/alf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/alf/alf.h b/alf/alf.h
index d56afa5..d21a295 100644
--- a/alf/alf.h
+++ b/alf/alf.h
@@ -29,6 +29,7 @@ typedef struct {
#define ALF_HEXPAND 0x02
#define ALF_VEXPAND 0x04
#define ALF_MESSAGEFONT 0x08
+#define ALF_APPLYSIZE 0x10
// messages
#define ALF_WM__BASE 0x2800
@@ -43,6 +44,7 @@ typedef struct {
#define ALF_WM_CENTIPOINTTOPX (ALF_WM__BASE + 9)
#define ALF_WM_SETFOCUS (ALF_WM__BASE + 10)
#define ALF_WM_GETAPPLICATION (ALF_WM__BASE + 11)
+#define ALF_WM_APPLYSIZE (ALF_WM__BASE + 12)
typedef struct {
const WCHAR *className;
@@ -72,6 +74,8 @@ typedef struct {
LRESULT (WINAPI *SetWindowSubclass)(HWND, ALF_COMPAT_SUBCLASSPROC, UINT_PTR, DWORD_PTR);
LRESULT (WINAPI *DefSubclassProc)(HWND, UINT, WPARAM, LPARAM);
BOOL (WINAPI *RemoveWindowSubclass)(HWND, ALF_COMPAT_SUBCLASSPROC, UINT_PTR);
+ int (WINAPI *GetSystemMetricsForDpi)(int, UINT);
+ BOOL (WINAPI *IsAppThemed)(void);
} ALFCompatFunctions;
typedef struct ALFAppPriv *ALFAPP;