summaryrefslogtreecommitdiff
path: root/iup/src/iup_val.h
diff options
context:
space:
mode:
Diffstat (limited to 'iup/src/iup_val.h')
-rwxr-xr-xiup/src/iup_val.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/iup/src/iup_val.h b/iup/src/iup_val.h
new file mode 100755
index 0000000..dea8df4
--- /dev/null
+++ b/iup/src/iup_val.h
@@ -0,0 +1,42 @@
+/** \file
+ * \brief Valuator Control
+ *
+ * See Copyright Notice in "iup.h"
+ */
+
+#ifndef __IUP_VAL_H
+#define __IUP_VAL_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+enum {IVAL_VERTICAL, IVAL_HORIZONTAL};
+
+struct _IcontrolData
+{
+ int type;
+ int show_ticks; /* Windows and Motif only - can be used only after map */
+ int inverted;
+ double val;
+ double step;
+ double pagestep;
+ double vmin;
+ double vmax;
+};
+
+void iupValCropValue(Ihandle* ih);
+char* iupValGetValueAttrib(Ihandle* ih);
+char* iupValGetStepAttrib(Ihandle* ih);
+char* iupValGetPageStepAttrib(Ihandle* ih);
+char* iupValGetShowTicksAttrib(Ihandle* ih);
+
+void iupdrvValInitClass(Iclass* ic);
+void iupdrvValGetMinSize(Ihandle* ih, int *w, int *h);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif