summaryrefslogtreecommitdiff
path: root/alf/alf.h
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alf.h')
-rw-r--r--alf/alf.h15
1 files changed, 11 insertions, 4 deletions
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