From 29393896e21cab201646352cce017992cf0b2ddb Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Sun, 7 Jul 2019 18:59:26 +0200 Subject: first notebook implementation --- alf/alf.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'alf/alf.h') diff --git a/alf/alf.h b/alf/alf.h index d74553b..e30d360 100644 --- a/alf/alf.h +++ b/alf/alf.h @@ -282,6 +282,28 @@ ALF_AddPanel(HWND parent, WORD id, UINT x, UINT y); HWND ALF_AddSpacer(HWND parent, WORD id, UINT x, UINT y, UINT cptWidth, UINT cptHeight, DWORD layoutFlags); +// tab control +HWND +ALF_AddNotebook(HWND parent, WORD id, UINT x, UINT y); + +HWND +ALF_NotebookAddTab(HWND notebook, const TCHAR *title); + +int +ALF_NotebookTabCount(HWND notebook); + +int +ALF_NotebookTabIndex(HWND notebook, HWND tabPanel); + +int +ALF_NotebookSelectedIndex(HWND notebook); + +HWND +ALF_NotebookSelectedPanel(HWND notebook); + +HWND +ALF_NotebookTabPanel(HWND notebook, int index); + #ifdef __cplusplus } // extern C #endif -- cgit v1.2.3