summaryrefslogtreecommitdiff
path: root/iup/include/iupcontrols.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/include/iupcontrols.h
Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux.
Diffstat (limited to 'iup/include/iupcontrols.h')
-rwxr-xr-xiup/include/iupcontrols.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/iup/include/iupcontrols.h b/iup/include/iupcontrols.h
new file mode 100755
index 0000000..c7bc566
--- /dev/null
+++ b/iup/include/iupcontrols.h
@@ -0,0 +1,46 @@
+/** \file
+ * \brief initializes dial, gauge, colorbrowser, colorbar controls.
+ *
+ * See Copyright Notice in "iup.h"
+ */
+
+#ifndef __IUPCONTROLS_H
+#define __IUPCONTROLS_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+int IupControlsOpen(void);
+void IupControlsClose(void); /* for backward compatibility only, does nothing since IUP 3 */
+
+void IupOldValOpen(void);
+void IupOldTabsOpen(void);
+
+Ihandle* IupColorbar(void);
+Ihandle* IupCells(void);
+Ihandle *IupColorBrowser(void);
+Ihandle *IupColorBrowser(void);
+Ihandle *IupGauge(void);
+Ihandle *IupDial(const char* type);
+Ihandle* IupMatrix(const char *action);
+
+/* IupMatrix utilities */
+void IupMatSetAttribute (Ihandle* ih, const char* name, int lin, int col, char* value);
+void IupMatStoreAttribute(Ihandle* ih, const char* name, int lin, int col, char* value);
+char* IupMatGetAttribute (Ihandle* ih, const char* name, int lin, int col);
+int IupMatGetInt (Ihandle* ih, const char* name, int lin, int col);
+float IupMatGetFloat (Ihandle* ih, const char* name, int lin, int col);
+void IupMatSetfAttribute (Ihandle* ih, const char* name, int lin, int col, char* format, ...);
+
+/* Used by IupColorbar */
+#define IUP_PRIMARY -1
+#define IUP_SECONDARY -2
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif