From d577d991b97ae2b5ee1af23641bcffc3f83af5b2 Mon Sep 17 00:00:00 2001 From: Pixel Date: Wed, 4 Nov 2009 11:56:41 -0800 Subject: Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux. --- iup/src/iup_dlglist.h | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100755 iup/src/iup_dlglist.h (limited to 'iup/src/iup_dlglist.h') diff --git a/iup/src/iup_dlglist.h b/iup/src/iup_dlglist.h new file mode 100755 index 0000000..99d3184 --- /dev/null +++ b/iup/src/iup_dlglist.h @@ -0,0 +1,58 @@ +/** \file + * \brief list of all created dialogs + * + * See Copyright Notice in "iup.h" + */ + +#ifndef __IUP_DLGLIST_H +#define __IUP_DLGLIST_H + +#ifdef __cplusplus +extern "C" { +#endif + + +/** \defgroup dlglist List of Dialogs + * \par + * See \ref iup_dlglist.h + * \ingroup cpi */ + + +/** Adds a dialog to the list. Used only in IupDialog. + * \ingroup dlglist */ +void iupDlgListAdd(Ihandle *ih); + +/** Removes a dialog from the list. Used only in IupDestroy. + * \ingroup dlglist */ +void iupDlgListRemove(Ihandle *ih); + +/** Starts a loop for all the created dialogs. + * \ingroup dlglist */ +Ihandle* iupDlgListFirst(void); + +/** Retrieve the next dialog on the list. Must call iupDlgListFirst first. + * \ingroup dlglist */ +Ihandle* iupDlgListNext(void); + +/** Increments the number of visible dialogs. + * \ingroup dlglist */ +void iupDlgListVisibleInc(void); + +/** Decrements the number of visible dialogs. + * \ingroup dlglist */ +void iupDlgListVisibleDec(void); + +/** Returns the number of visible dialogs. + * \ingroup dlglist */ +int iupDlgListVisibleCount(void); + +/* Destroy all dialogs and the list. + Called only from IupClose. */ +void iupDlgListDestroyAll(void); + + +#ifdef __cplusplus +} +#endif + +#endif -- cgit v1.2.3