diff options
author | Pixel <pixel@nobis-crew.org> | 2009-11-04 11:56:41 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-11-04 11:59:33 -0800 |
commit | d577d991b97ae2b5ee1af23641bcffc3f83af5b2 (patch) | |
tree | 590639d50205d1bcfaff2a7d2dc6ebf3f373c7ed /iup/src/iup_tabs.h |
Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux.
Diffstat (limited to 'iup/src/iup_tabs.h')
-rwxr-xr-x | iup/src/iup_tabs.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/iup/src/iup_tabs.h b/iup/src/iup_tabs.h new file mode 100755 index 0000000..7f5df2e --- /dev/null +++ b/iup/src/iup_tabs.h @@ -0,0 +1,50 @@ +/** \file + * \brief Tabs Control + * + * See Copyright Notice in "iup.h" + */ + +#ifndef __IUP_TABS_H +#define __IUP_TABS_H + +#ifdef __cplusplus +extern "C" { +#endif + + +char* iupTabsGetTabOrientationAttrib(Ihandle* ih); +char* iupTabsGetTabTypeAttrib(Ihandle* ih); +char* iupTabsAttribGetStrId(Ihandle* ih, const char* name, int pos); +char* iupTabsGetPaddingAttrib(Ihandle* ih); + +int iupdrvTabsExtraDecor(Ihandle* ih); +int iupdrvTabsGetLineCountAttrib(Ihandle* ih); +void iupdrvTabsSetCurrentTab(Ihandle* ih, int pos); +int iupdrvTabsGetCurrentTab(Ihandle* ih); +void iupdrvTabsInitClass(Iclass* ic); + +typedef enum +{ + ITABS_TOP, ITABS_BOTTOM, ITABS_LEFT, ITABS_RIGHT +} ItabsType; + +typedef enum +{ + ITABS_HORIZONTAL, ITABS_VERTICAL +} ItabsOrientation; + +/* Control context */ +struct _IcontrolData +{ + ItabsType type; + ItabsOrientation orientation; + int horiz_padding, vert_padding; /* tab title margin */ + int is_multiline; /* used only in Windows */ +}; + + +#ifdef __cplusplus +} +#endif + +#endif |