From e3daffea5b8596a5dfcf9a79920d9c17344f511b Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Sun, 6 Jan 2019 22:40:10 +0100 Subject: initial panel implementation --- alf/alf.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'alf/alf.h') diff --git a/alf/alf.h b/alf/alf.h index 3388b48..d264e93 100644 --- a/alf/alf.h +++ b/alf/alf.h @@ -26,10 +26,14 @@ typedef struct { // layout flags #define ALF_QUERYSIZE 0x01 -#define ALF_HEXPAND 0x02 -#define ALF_VEXPAND 0x04 -#define ALF_MESSAGEFONT 0x08 -#define ALF_APPLYSIZE 0x10 +#define ALF_APPLYSIZE 0x02 +#define ALF_HEXPAND 0x04 +#define ALF_VEXPAND 0x08 +#define ALF_MESSAGEFONT 0x10 +#define ALF_STATUSFONT 0x20 +#define ALF_ICONTITLEFONT 0x40 +// special value, means "send ALF_WM_APPLYFONTS message with full fonts struct" +#define ALF_ALLFONTS (ALF_MESSAGEFONT | ALF_STATUSFONT | ALF_ICONTITLEFONT) // messages #define ALF_WM__BASE 0x2800 @@ -242,6 +246,9 @@ ALF_ComboBoxCurrentText(HWND combo); void ALF_ComboBoxSetText(HWND combo, const TCHAR *text); +// panel +HWND +ALF_AddPanel(HWND parent, WORD id, UINT x, UINT y); #ifdef __cplusplus } // extern C -- cgit v1.2.3