summaryrefslogtreecommitdiff
path: root/iup/src/iup_label.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_label.h
Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux.
Diffstat (limited to 'iup/src/iup_label.h')
-rwxr-xr-xiup/src/iup_label.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/iup/src/iup_label.h b/iup/src/iup_label.h
new file mode 100755
index 0000000..f50d26f
--- /dev/null
+++ b/iup/src/iup_label.h
@@ -0,0 +1,37 @@
+/** \file
+ * \brief Label Controls Private Declarations
+ *
+ * See Copyright Notice in "iup.h"
+ */
+
+#ifndef __IUP_LABEL_H
+#define __IUP_LABEL_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+void iupdrvLabelInitClass(Iclass* ic);
+
+char* iupLabelGetPaddingAttrib(Ihandle* ih);
+
+enum{IUP_LABEL_SEP_HORIZ, IUP_LABEL_SEP_VERT, IUP_LABEL_IMAGE, IUP_LABEL_TEXT};
+
+struct _IcontrolData
+{
+ int type, /* the 4 labels possibilities */
+ horiz_padding, vert_padding; /* label margin */
+
+ /* used only by the Windows driver */
+ int horiz_alignment, vert_alignment,
+ text_style;
+ unsigned long fgcolor;
+};
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif