summaryrefslogtreecommitdiff
path: root/iup/src/iup_dlglist.h
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-11-04 11:56:41 -0800
committerPixel <pixel@nobis-crew.org>2009-11-04 11:59:33 -0800
commitd577d991b97ae2b5ee1af23641bcffc3f83af5b2 (patch)
tree590639d50205d1bcfaff2a7d2dc6ebf3f373c7ed /iup/src/iup_dlglist.h
Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux.
Diffstat (limited to 'iup/src/iup_dlglist.h')
-rwxr-xr-xiup/src/iup_dlglist.h58
1 files changed, 58 insertions, 0 deletions
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