diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2019-01-06 22:40:10 +0100 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2019-01-06 22:40:10 +0100 |
| commit | e3daffea5b8596a5dfcf9a79920d9c17344f511b (patch) | |
| tree | 8edfe5d037d690c8167b417f48be6dca79aa615d /alf/alf.h | |
| parent | 8543cc8ce9e25b807a950accbd34995572a8a2cc (diff) | |
initial panel implementation
Diffstat (limited to 'alf/alf.h')
| -rw-r--r-- | alf/alf.h | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -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 |
