diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-04-30 22:11:34 +0200 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-04-30 22:11:34 +0200 |
| commit | 5a3b46ee43fc601121a85d910d044033d891748f (patch) | |
| tree | 661fafdc6c4c6a99a360e8b101adfa1c1c6ed949 /alf/alf.h | |
| parent | d28cd7fb71a6fe56a04d4e21f2b95907a1ec105c (diff) | |
panel: support edge (like delphi)
mainly to force me to implement layout margins
Diffstat (limited to 'alf/alf.h')
| -rw-r--r-- | alf/alf.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -115,6 +115,8 @@ typedef struct { #define ALF_WM_LBL_SETSTYLE (ALF_WM__BASE + 202) #define ALF_WM_PANEL_SETVTABLE (ALF_WM__BASE + 201) +#define ALF_WM_PANEL_GETEDGE (ALF_WM__BASE + 202) +#define ALF_WM_PANEL_SETEDGE (ALF_WM__BASE + 203) #define ALF_WM_NTBK_GETFLAGS (ALF_WM__BASE + 201) #define ALF_WM_NTBK_SETFLAGS (ALF_WM__BASE + 202) @@ -386,7 +388,7 @@ HWND ALF_AddPanel(HWND parent, WORD id, int x, int y); void -ALF_Panel_SetVTable(HWND panel, const ALFPanelVTable *vtbl, void *closure); +ALF_PanelSetVTable(HWND panel, const ALFPanelVTable *vtbl, void *closure); LRESULT ALF_Panel_DefWindowProc(HWND panel, UINT msg, WPARAM wparam, LPARAM lparam); @@ -394,6 +396,12 @@ ALF_Panel_DefWindowProc(HWND panel, UINT msg, WPARAM wparam, LPARAM lparam); void ALF_Panel_DefPaint(HWND panel, HDC hDC, RECT *rcPaint); +DWORD +ALF_PanelEdge(HWND panel); + +void +ALF_PanelSetEdge(HWND panel, DWORD edge); + // tab control HWND ALF_AddNotebook(HWND parent, WORD id, int x, int y); |
