summaryrefslogtreecommitdiff
path: root/iup/src/iup_globalattrib.h
diff options
context:
space:
mode:
Diffstat (limited to 'iup/src/iup_globalattrib.h')
-rwxr-xr-xiup/src/iup_globalattrib.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/iup/src/iup_globalattrib.h b/iup/src/iup_globalattrib.h
new file mode 100755
index 0000000..706a6ac
--- /dev/null
+++ b/iup/src/iup_globalattrib.h
@@ -0,0 +1,33 @@
+/** \file
+ * \brief global attributes enviroment
+ *
+ * See Copyright Notice in "iup.h"
+ */
+
+#ifndef __IUP_GLOBALATTRIB_H
+#define __IUP_GLOBALATTRIB_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* called only in IupOpen and IupClose */
+void iupGlobalAttribInit(void);
+void iupGlobalAttribFinish(void);
+
+int iupGlobalIsPointer(const char* name);
+
+int iupGlobalDefaultColorChanged(const char *name); /* check if user changed */
+void iupGlobalSetDefaultColorAttrib(const char* name, int r, int g, int b); /* internal change method */
+
+/* Other functions declared in <iup.h> and implemented here.
+IupSetGlobal
+IupStoreGlobal
+IupGetGlobal
+*/
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif